Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Layout Manager for display on one line
Layout Manager for display on one line [message #1205963] Sat, 23 November 2013 22:23 Go to next message
boby pietri is currently offline boby pietri
Messages: 27
Registered: October 2013
Junior Member
Hi,

I am looking for a way to display labels and values in my dialogue box so it appears in one line with correct spaces. The number of labels and values can be variable.
Could you tell me what is the best layout to be used for that ?

Thank you.

Re: Layout Manager for display on one line [message #1218086 is a reply to message #1205963] Fri, 29 November 2013 05:43 Go to previous messageGo to next message
Niraj Modi is currently offline Niraj Modi
Messages: 17
Registered: November 2013
Junior Member
Hi Boby,

Try RowLayout, it looks you want to design something like below:
http://www.eclipse.org/articles/Article-Understanding-Layouts/images/RowLayoutMargins.png

Article on SWT layouts

RowLayout snippet: align widgets in a row


Thanks,
Niraj Modi
Re: Layout Manager for display on one line [message #1219266 is a reply to message #1218086] Tue, 03 December 2013 03:10 Go to previous message
boby pietri is currently offline boby pietri
Messages: 27
Registered: October 2013
Junior Member
Yes thanks this is exactly what I want.
Previous Topic:Drag and Drop Table Header
Next Topic:How to convert characters the User enters into a Textbox to CAPs conditionally?
Goto Forum:
  


Current Time: Thu Sep 18 21:50:33 GMT 2014

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

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