Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How can I use SashForm with any layout other than FillLayout(SashForm properly works only when FillLayout is used)
How can I use SashForm with any layout other than FillLayout [message #874751] Mon, 21 May 2012 13:39 Go to next message
Seref Arikan is currently offline Seref ArikanFriend
Messages: 73
Registered: August 2010
Member
I have a very simple form where I'd like to use SashForm to implement dividers between various components.

Unless the SashForm is hosted on a chain of containers that all have FillLayout, the children of SashForm won't fill the SashForm compartments.

I'm normally using gridlayout, so this is what I've tried to do:
shell (fill layout)-> Composite (grid layout) -> cell 0,0 -> Composite (Fill layout) -> SashForm (has two lists)

How on earth I use a SashForm on a Composite with GridLayout?
Re: How can I use SashForm with any layout other than FillLayout [message #874761 is a reply to message #874751] Mon, 21 May 2012 13:51 Go to previous message
Seref Arikan is currently offline Seref ArikanFriend
Messages: 73
Registered: August 2010
Member
My bad. The horizontal and vertical align properties of the layout data of SashForm should be set to fill. That solved my problem. I can't believe I missed that.
Previous Topic:File Dialog opens default path all the time
Next Topic:Changing focus when the component is being activated.
Goto Forum:
  


Current Time: Sat Sep 19 20:07:14 GMT 2020

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

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

Back to the top