default widget color [message #612332] |
Mon, 20 March 2006 20:02 |
Eclipse User |
|
|
|
Originally posted by: nospam.thanks.com
using VE1.2.0.v20060227_S
try this :
place a button in a shell.
look at it's background & foreground color : it's seem to be hardcoded.
"Color {212, 208, 200}" but in fact it's not.
set the value to COLOR_WIDGET_BACKGROUND and now you got a generated line:
" button.setForeground(Display.getCurrent().getSystemColor(SWT .COLOR_WIDGET_FOREGROUND)); "
in fact the problem is that the default value is really
COLOR_WIDGET_BACKGROUND but the properties display Color {212, 208, 200}
instead.
that's what confuse me.
is this little probleme will be solved ?
|
|
|
Powered by
FUDForum. Page generated in 0.06112 seconds