Bug 88401 - [SashForm] Decouple initial sizes and weights in SashForm
Summary: [SashForm] Decouple initial sizes and weights in SashForm
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Duong Nguyen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-17 18:56 EST by Sergey Prigogin CLA
Modified: 2019-09-06 15:33 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Prigogin CLA 2005-03-17 18:56:31 EST
Current functionality of SashForm does not allow user to create a pane that 
does not resize when the window is resized. Usefulness of such feature is 
obvious if you look at the Eclipse window itself where view panes do not resize 
as long as they fit into the main window. 

The proposed enhancement would involve adding a new method:

public void setInitialWeights(int[] weights);

Initial weights will be used to calculate initial pane sizes. Weights passed to 
the existing setWeights method will control pane growth when the window is 
resized, but will not affect initial pane layout if initial weights are 
specified. Checking of weights passed to setWeights method should be relaxed to 
allow some of the weights to be zero to facilitate panes that don't resize with 
the containing window.
Comment 1 Eclipse Webmaster CLA 2019-09-06 15:33:09 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.