Skip to main content



      Home
Home » Archived » Visual Editor (VE) » default widget color
default widget color [message #612332] Mon, 20 March 2006 20:02
Eclipse UserFriend
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 ?
Previous Topic:Run Java Bean using main method
Next Topic:Run Java Bean using main method
Goto Forum:
  


Current Time: Tue Jun 17 01:27:48 EDT 2025

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

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

Back to the top