Opened 16 years ago
Closed 15 years ago
#1159 closed enhancement (wontfix)
Allow absolute sizing for SplitContainer
Reported by: | 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 16 years ago by
Summary: | Allow absolute sizing for SpitContainer → Allow absolute sizing for SplitContainer |
---|
comment:2 Changed 16 years ago by
Milestone: | 0.4 → 0.5 |
---|
comment:3 Changed 16 years ago by
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 15 years ago by
Component: | Widgets → Dijit |
---|---|
Owner: | changed from bill to koranteng |
is this something we want to do for dijit?
comment:5 Changed 15 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
No, sorry, I don't want to support this in Dijit. The SplitContainer? code is complex enough as it is.
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.