Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Text selection color of StyledText
Text selection color of StyledText [message #508242] Sun, 17 January 2010 22:49 Go to next message
Eclipse UserFriend
Hi.

A StyledText seems to use the selection color of operating system theme by default.
Is there a way to change the color explicitly for the StyledText?

Regards,
Kai
Re: Text selection color of StyledText [message #508390 is a reply to message #508242] Mon, 18 January 2010 10:59 Go to previous message
Eclipse UserFriend
setSelectionBackground()/Foreground() should do this

Grant


"Kai Schlamp" <schlamp@gmx.de> wrote in message
news:hj0los$gtf$1@build.eclipse.org...
> Hi.
>
> A StyledText seems to use the selection color of operating system theme by
default.
> Is there a way to change the color explicitly for the StyledText?
>
> Regards,
> Kai
Previous Topic:problem with virtual table
Next Topic:How to serialize an SWT Image
Goto Forum:
  


Current Time: Thu Jul 03 14:16:34 EDT 2025

Powered by FUDForum. Page generated in 0.03120 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top