Opened 10 years ago

Closed 10 years ago

#8930 closed defect (invalid)

BorderContainer option is broken?

Reported by: SunSunich Owned by:
Priority: high Milestone: tbd
Component: Dijit Version: 1.3.0b3
Keywords: Cc:
Blocked By: Blocking:

Description

Trying this example (http://docs.dojocampus.org/dijit/layout/BorderContainer) with latest dojo(1.3 b3, RC1). It works only if I change the 'design="sidebar" gutters="true" liveSplitters="true"' opts to 'style="..."'. Is it deprecated or something else?

<div style="position: relative; width: 100%; height: 400px; border: 1px #ccc solid;">

<div dojoType="dijit.layout.BorderContainer?" design="sidebar" gutters="true" liveSplitters="true" id="borderContainer">

<div dojoType="dijit.layout.ContentPane?" splitter="true" region="leading" style="width: 100px;">Hi</div> <div dojoType="dijit.layout.ContentPane?" splitter="true" region="center">Hi, I'm center</div>

</div>

</div>

Change History (4)

comment:1 Changed 10 years ago by bill

It's working for me. What browser are you using? Does that actual link (http://docs.dojocampus.org/dijit/layout/BorderContainer) fail for you?

comment:2 in reply to:  1 Changed 10 years ago by SunSunich

Replying to bill:

It's working for me. What browser are you using?

I`m using FF 3.0.6, Chrome, IE6. Every browser shows no error and no BordeContainer? widget.

Does that actual link (http://docs.dojocampus.org/dijit/layout/BorderContainer) fail for you?

It works fine, but I viewing it from another computer, so I think something wrong with my configuration or webcontainer. (I'm using ibm websphere 7)

Actually, this example works for me, only if 'padding' is set... CSS problem? Don`t know where to dig...

comment:3 Changed 10 years ago by SunSunich

Please, close this ticket. RTFM mantra helped me: "note: In order to set the overall size of a BorderContainer? to the full size of the viewport, the <body> element needs an explicit size set as well as a size on the BorderContainer? itself:..." (from http://docs.dojocampus.org/dijit/layout/BorderContainer)

Thank you.

comment:4 Changed 10 years ago by bill

Resolution: invalid
Status: newclosed

Ah OK, good.

Note: See TracTickets for help on using tickets.