Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] LayoutExample Updated


I noticed that some folks were having trouble with layouts, so I decided to update the LayoutExample.

If you are new to SWT, or if you are a seasoned veteran and you just can't quite get that layout to do what you want, you might find the new LayoutExample useful.

You can get all of the SWT examples here: http://www.eclipse.org/swt/examples.php

Run the LayoutExample, select a layout for the composite, and add some child controls. Then play with the layout's parameters, and the layout data for each child control. When you think the layout looks about right, click on "Generate Code" to have your layout code written for you.  :)

Have fun!
Carolyn

Back to the top