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:


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:

		"<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 id='ruleExplorerContainer' class='ruleExpCntr' dojoType='dijit.layout.ContentPane' splitter='false' region='center' >"
		+"<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 id='stateContent' class='stateCnt' dojoType='dijit.layout.ContentPane' splitter='true' region='center'>"

Change History (7)

comment:1 Changed 13 years ago by Adam Peller

Resolution: invalid
Status: newclosed

try minSize

comment:2 in reply to:  1 Changed 13 years ago by steven3311

Resolution: invalid
Status: closedreopened

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 Changed 13 years ago by Adam Peller

Component: DijitDocumentation

The generated docs I'm looking at ( 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 in reply to:  3 Changed 13 years ago by steven3311

Replying to peller:

Yup that worked, "minSize" without px is correct. Thanks.

comment:5 Changed 13 years ago by Adam Peller

Owner: set to Neil Roberts
Status: reopenednew
Summary: BorderContainer sizeMin not workingBorderContainer minSize (and sizeMin) not documented

comment:6 Changed 13 years ago by bill

(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 bill

Milestone: tbd1.4
Resolution: fixed
Status: newclosed

I see the documentation for both minSize and sizeMin showing up now.

Note: See TracTickets for help on using tickets.