Opened 13 years ago
Closed 13 years ago
#4568 closed defect (fixed)
Error in comments for dijit.layout.ContentPane
Reported by: | guest | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.0 |
Component: | Dijit | Version: | 0.9 |
Keywords: | dijit, layout | Cc: | |
Blocked By: | Blocking: |
Description
In the comments for the dijit.layout.ContentPane? widget, there are 4 typos that may confuse users if/when attempting to use the example code.
The current code is as follows (note the lack of dijit.layout.)...
<div dojoType="LayoutContainer" style="width: 100%; height: 100%"> <div dojoType="ContentPane" layoutAlign="top">header text</div> <div dojoType="ContentPane" layoutAlign="left" style="width: 200px;">table of contents</div> <div dojoType="ContentPane" layoutAlign="client">client area</div> </div>
It should be...
<div dojoType="dijit.layout.LayoutContainer" style="width: 100%; height: 100%"> <div dojoType="dijit.layout.ContentPane" layoutAlign="top">header text</div> <div dojoType="dijit.layout.ContentPane" layoutAlign="left" style="width: 200px;">table of contents</div> <div dojoType="dijit.layout.ContentPane" layoutAlign="client">client area</div> </div>
Regards,
isNaN ([email protected]…)
Change History (3)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Keywords: | ContentPane removed |
---|---|
Milestone: | → 1.0 |
comment:3 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
My mistake, it's in LayoutContainer?.js - Line 31.
Replying to guest: