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 #528729] 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>

http://dl.dropbox.com/u/76691/Eclipse/images/Screenshot%20-%2021.04.2010%20%2C%2019_00_17.png

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,
Google, Inc.
Previous Topic:Pros and Cons for starting a e4 project
Next Topic:XWT. Problem with Form background.
Goto Forum:
  


Current Time: Mon Jan 27 22:09:29 GMT 2020

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

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

Back to the top