• Post Reply Bookmark Topic Watch Topic
  • New Topic

SWT layout

 
Tim McGuire
Ranch Hand
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm new to SWT.

I have a screen with one composite that itself contains two composites, buttonRow and tableRow

All of the composites are set to GridLayout.
The tableRow composite has a table in it and the table is cropped for some reason. I have tried various things to make the table fill the space available (grabExcessHorizontalSpace, horizontalAlignment = SWT.FILL, etc.)
like it does under the default layout (FillLayout)
here is the code:

[ September 15, 2005: Message edited by: Tim McGuire ]
 
Tim McGuire
Ranch Hand
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I eventually switched to FormLayout. FormLayout allows you to specify a left, right, top, bottom anchor for form fields, stretching the widgets out exactly like I want them.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!