Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » set selected columns' width to be equal in Gridlayout, rather than all columns are equal
set selected columns' width to be equal in Gridlayout, rather than all columns are equal [message #1065737] Thu, 27 June 2013 06:23 Go to next message
Song David is currently offline Song David
Messages: 186
Registered: April 2011
Senior Member
Hi,
In GridLayout, we can set the width of all columns to equal, but I want to set first column to be equal to the third one and the second column to be equal to the forth one, how to do with it?

index.php/fa/15382/0/

thanks

David
Re: set selected columns' width to be equal in Gridlayout, rather than all columns are equal [message #1066249 is a reply to message #1065737] Mon, 01 July 2013 13:21 Go to previous messageGo to next message
li ran is currently offline li ran
Messages: 11
Registered: June 2013
Junior Member
if m = C * n
define more columns then you really needed and span to get the currect size

for example define 6 columns: 1, 2 (span), 1, 2(span)
Re: set selected columns' width to be equal in Gridlayout, rather than all columns are equal [message #1068992 is a reply to message #1066249] Sun, 14 July 2013 19:43 Go to previous message
Song David is currently offline Song David
Messages: 186
Registered: April 2011
Senior Member
thanks li, good method
Previous Topic:OpenGL antialiasing (SWT 4.2.1 + LWJGL 2.8.4), is it possible?
Next Topic:Is there way to add resize indicator to SashForm?
Goto Forum:
  


Current Time: Wed Jul 30 03:07:00 EDT 2014

Powered by FUDForum. Page generated in 0.01556 seconds