Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How do I restrict or limit the size of a MasterDetailsBlock
How do I restrict or limit the size of a MasterDetailsBlock [message #490284] Thu, 08 October 2009 08:24
Andy Coleman is currently offline Andy ColemanFriend
Messages: 33
Registered: September 2009

I have a dialog which is using the a MasterDetailsBlock to display a set of items in a list. When the user selects an item and presses either edit or add a new details page is created on the right hand side.

I want to more accuratly control the size of the portion on the left hand side - the master details block. My prefered option would be to keep the size of the block static and for any extra space to be taken up by the details page.

Alternatively I would keep the ratio of the master block and details page widths to something like 1:3. I have tried to set the weights on the sashform in the master details block but it seems that until an item is selected in the list the sash form only has one item and thus setting the weights throws an exception.

Thanks in advance for any help.

Previous Topic:Closing editor from a job
Next Topic:command org.eclipse.ui.window.resetPerspective not active
Goto Forum:

Current Time: Mon May 21 03:20:53 GMT 2018

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

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

Back to the top