Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » XWT. Problem with Form background.
XWT. Problem with Form background. [message #575002] Wed, 21 April 2010 15:06
Konstantin Scheglov is currently offline Konstantin ScheglovFriend
Messages: 555
Registered: July 2009
Senior Member
I have problem with using org.eclipse.ui.forms.widgets.Form in XWT.

Following XWT code does not show Form background.
<!-- Forms API -->
<Shell xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt">
<Shell.layout>
<FillLayout/>
</Shell.layout>
<Form text="New Form" background="COLOR_YELLOW"/>
</Shell>


Corresponding code in SWT works correctly and shows requested background.

I think that this may happen because of org.eclipse.e4.xwt.forms.ToolKitUtil, it seems override my color settings.
--
Konstantin Scheglov,
Instantiations, Inc.


Konstantin Scheglov,
Google, Inc.
Previous Topic:XWT. Problem with Form background.
Next Topic:XWT runnable jar - does not find main.xwt in jar file
Goto Forum:
  


Current Time: Mon Jan 27 16:49:21 GMT 2020

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

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

Back to the top