Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Boolean Editor Display Problem in Suse Linux
Boolean Editor Display Problem in Suse Linux [message #525859] Wed, 07 April 2010 23:23
Eclipse UserFriend
I am developing an RCP application. Recently, I want to move my platform from Windows to Suse Linux 11.2 and I got a problem of fail to emulate a fake native check box. To simulate my problem, you may get a snippet from http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.s nippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippet s/viewers/Snippet061FakedNativeCellEditor.java?view=markup
and run on Suse. Every time I can only generate a grey square instead of a nicely looking checkbox.

There is another problem on displaying the boolean cell editor. You can change the method getLayoutData of BooleanCellEditor in this way:

LayoutData data = super.getLayoutData();
data.horizontalAlignment = SWT.FILL;
data.grabHorizontal = true;
return data;

After you have compiled and run, you will find that every time you click on the mouse, hold the button and move to other cell, you will find that there are two check boxes showing on the table cell. Possibly one should be the boolean checkbox control and another is the checkbox image, but I expect when it showing the checkbox control, the image should be hidden.

Anybody has idea about it?

Many Thanks,
Vincent

[Updated on: Thu, 08 April 2010 03:30] by Moderator

Previous Topic:Browser and MHTML
Next Topic:Problems with non-ascii paths in FileDialog in SWT GTK
Goto Forum:
  


Current Time: Sun Jul 13 15:02:54 EDT 2025

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

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

Back to the top