Opened 13 years ago
Closed 13 years ago
#9787 closed defect (fixed)
BorderContainer minSize (and sizeMin) not documented
Reported by: | steven3311 | Owned by: | Neil Roberts |
---|---|---|---|
Priority: | high | Milestone: | 1.4 |
Component: | Documentation | Version: | 1.3.2 |
Keywords: | BorderContainers, sizeMin | Cc: | |
Blocked By: | Blocking: |
Description
I have a two BorderContainers? contained within single bordercontianer. It looks the same as the theme tester. I am trying to set the sizeMin on the child BorderContainers? but it has no effect.
Here is my code:
dojo.query("body").addContent( "<div class='main'>" +"<div class='ruleEditContainter' dojoType='dijit.layout.BorderContainer' design='sidebar' gutters='true' liveSplitters='true' >" +"<div class='explorerContainter' dojoType='dijit.layout.BorderContainer' sizeMin='50px' design='heading' region='leading' gutters='true' splitter='true' liveSplitters='true' >" +"<div id='rulesetControl' class='rulesetCnt' dojoType='dijit.layout.ContentPane' sizeMin='50' region='top' splitter='true'>" +"</div>" +"<div id='ruleExplorerContainer' class='ruleExpCntr' dojoType='dijit.layout.ContentPane' splitter='false' region='center' >" +"</div>" +"</div>" +"<div class='ruleContent' dojoType='dijit.layout.BorderContainer' sizeMin='50' design='heading' region='center' gutters='true' liveSplitters='true' >" +"<div id='ceContent' class='ceCnt' dojoType='dijit.layout.ContentPane' splitter='true' region='top'>" +"</div>" +"<div id='stateContent' class='stateCnt' dojoType='dijit.layout.ContentPane' splitter='true' region='center'>" +"</div>" +"</div>" +"</div>" +"</div>" );
Change History (7)
comment:1 follow-up: 2 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 13 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Replying to peller:
try minSize
That doesnt seem to work either. The documentation says "sizeMin" I guess it need to be updated. Does this property have any dependencies on the style properites set?
comment:3 follow-up: 4 Changed 13 years ago by
Component: | Dijit → Documentation |
---|
The generated docs I'm looking at (api.dojotoolkit.org) does list both sizeMin, apparently from the deprecated SplitContainer? widget, as well as minSize. That's unfortunate. Probably an artifact of how we hacked some of those properties onto dijit._Widget for children widgets :-/ The fact that the minSize documentation does not carry over its description information from BorderContainer? is almost certainly a bug in the doc tool. The type is Number and you should be specifying the pixels only, with out the 'px' as you would in CSS. Perhaps an example and/or better wording the documentation would help with that also.
comment:4 Changed 13 years ago by
Replying to peller:
Yup that worked, "minSize" without px is correct. Thanks.
comment:5 Changed 13 years ago by
Owner: | set to Neil Roberts |
---|---|
Status: | reopened → new |
Summary: | BorderContainer sizeMin not working → BorderContainer minSize (and sizeMin) not documented |
comment:6 Changed 13 years ago by
(In [20689]) Make documentation clear about that certain _Widget parameters are only meaningful for children of SplitContainer? / TabContainer? / BorderContainer?. Refs #9787 !strict
comment:7 Changed 13 years ago by
Milestone: | tbd → 1.4 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
I see the documentation for both minSize and sizeMin showing up now.
try minSize