#1697 closed defect (fixed)
SplitContainer and creating bug
Reported by: | Owned by: | bill | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Widgets | Version: | 0.4 |
Keywords: | SplitContainer and display block bug. | Cc: | [email protected]… |
Blocked By: | Blocking: |
Description (last modified by )
These doesn't work:
DojoML: <span dojoType="SplitContainer"> ..</span> Code: dojo.widget.createWidget("SplitContainer", options);
These do work:
DojoML: <div dojoType="SplitContainer"> ..</div> Code: dojo.widget.createWidget("SplitContainer", options,document.createElement("div")); DojoML: <span style="display: block;" dojoType="SplitContainer"> ..</span> Code: var foo=dojo.widget.createWidget("SplitContainer", options); foo.domNode.style.display="block";
So, I suggest that adding eather template to SplitContainer? to use DIV, or make style.display="block"; default behavior.
Note: This bug might exist in other Containers/widgets too.
Attachments (2)
Change History (6)
comment:1 Changed 14 years ago by
Description: | modified (diff) |
---|
Changed 14 years ago by
Attachment: | 1697.patch added |
---|
comment:2 Changed 14 years ago by
Cc: | [email protected]… added |
---|
Please verify the css change works for you. Feel free to experiment with the InlineBlock? widget to see if it works, if inline containers are needed.
Note: See
TracTickets for help on using
tickets.
added display:block to css and added InlineBlock? widget (marked experimenta)