Opened 13 years ago

Closed 12 years ago

#1159 closed enhancement (wontfix)

Allow absolute sizing for SplitContainer

Reported by: dojo@… Owned by: koranteng
Priority: high Milestone: 0.9
Component: Dijit Version: 0.4
Keywords: Cc:
Blocked By: Blocking:

Description

It would be nice to have a way to specify an absolute sizing for a pane in a SplitContainer?. The sizeShare attribute currently only supports a percentage value. One use case would be similar to the Windows Explorer with a pane on the left that can be resized by dragging the splitter, but remains a fixed size when the window is resized.

Ideally, the sizing method would allow all the same dimensioning values supported in CSS (em, in, cm, px, %, etc). To allow for variable units for separate panes, you could allow one or more of the panes to be auto sized to take up the remaining space similar to the * dimension for a frameset.

Change History (5)

comment:1 Changed 13 years ago by guest

Summary: Allow absolute sizing for SpitContainerAllow absolute sizing for SplitContainer

comment:2 Changed 13 years ago by guest

Milestone: 0.40.5

If you don't need to resize the panel, you can set the sizeMin to say 200px and set the sizeShare to 0 That panel then won't resize as the SplitContainer? is resized, however you cannot size the panel smaller than the sizeMin you set so not what you are after.

comment:3 Changed 13 years ago by egor.margineanu@…

Why milestone is changed from 0.4 to 0.5. This is not a complex task. I've extended SplitContainer? to support px or % units for sizeShare. If is needed I can add support for other parameters and publish here as patch.

comment:4 Changed 13 years ago by Adam Peller

Component: WidgetsDijit
Owner: changed from bill to koranteng

is this something we want to do for dijit?

comment:5 Changed 12 years ago by bill

Resolution: wontfix
Status: newclosed

No, sorry, I don't want to support this in Dijit. The SplitContainer? code is complex enough as it is.

Note: See TracTickets for help on using tickets.