Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Background color problem when porting plugin to RC2.


Luiz,

This behaviour is unchanged between 2.0 and 2.1.  We have always used the default background colour here.  I just ran 2.0.2 and I get gray on the ViewForms used for eclipse views.

Can you give us an example that works differently in 2.0 and 2.1?
If it's on a toolbar that you are creating yourself, you can explicitly set the background colour using Control.setBackground(Color).
You should not change the background colour of toolbars created by the workbench.

Regards,
Nick




"Luiz Marcelo A. Paternostro" <lmap@xxxxxxxxxx>
Sent by: platform-ui-dev-admin@xxxxxxxxxxx

03/13/03 12:45 PM
Please respond to platform-ui-dev

       
        To:        <platform-ui-dev@xxxxxxxxxxx>
        cc:        
        Subject:        [platform-ui-dev] Background color problem when porting plugin to RC2.



Hi,

Without changing any image or line of code, the plugins I have working on
2.02 are presenting a problem regarding the background color of elements in
the tool bar of different org.eclipse.swt.custom.ViewForm objects.  In the
previous version, the background of the org.eclipse.swt.widgets.ToolItem
widgets was white but now it is gray.

Would someone have any tips or directions I can use to make the background
white again?  Was there any change on the way the ToolItem or the ViewForm
is painted?

TIA.

_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ui-dev



Back to the top