Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] API for setting the selection color of a Text field

According to my information, only the StyledText control allows to set the selection color. I don't know what technically would be possible on the native end of SWT for Text or Combo.

--
Best regards,
Thomas Singer


On 21.12.2016 17:31, Lars Vogel wrote:
Thanks Thomas. I read this as "no you cannot set the selection color
via SWT API".

Best regards, Lars

On Tue, Dec 20, 2016 at 7:08 PM, Thomas Singer <ts-swt@xxxxxxxxxxx> wrote:
Just keep the background of the text fields on OS X brighter, because the
selection color is bright (the screenshot seems to show non-default
selection color which is light-blue).

But your screenshot shows another nasty problem on OS X: the rendering of
the combobox with the bold top line:

<https://bugs.eclipse.org/bugs/show_bug.cgi?id=508809>

--
Best regards,
Thomas Singer
=============
syntevo GmbH
http://www.syntevo.com
http://www.syntevo.com/blog


On 20.12.2016 18:42, Lars Vogel wrote:

Here is the Mac screenshot.

On Tue, Dec 20, 2016 at 6:18 PM, Lars Vogel <lars.vogel@xxxxxxxxxxx>
wrote:

Friends of SWT,

Olivier Prouvost from Opcoach pointed out to me that the selection
color on the Mac looks horrible in the dark theme. See screenshot
after the ID field.

This looks relatively good on Ubuntu, see SelectionColorInUbuntu
screenshot.

Is it possible to control this color via SWT API? If not, would it
possible to consider this for future API enhancements?

Best regards, Lars

--
Eclipse Platform UI and e4 project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web:
http://www.vogella.com






_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev






Back to the top