Skip to main content


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 10:23 Go to next message
David Song is currently offline David SongFriend
Messages: 217
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 17:21 Go to previous messageGo to next message
li ran is currently offline li ranFriend
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 23:43 Go to previous message
David Song is currently offline David SongFriend
Messages: 217
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: Thu Apr 25 03:51:40 GMT 2024

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

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

Back to the top