Closed Bug 150876 Opened 23 years ago Closed 23 years ago

Trees do not render contents inside GroupBox

Categories

(Core :: XUL, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: azaroth, Assigned: janv)

References

()

Details

When putting a <tree> element inside a <groupbox> it fails to render the contents of the tree. The XUL at the URL is from the XUL Tutorial and when not inside a groupbox renders correctly. Tested under Mozilla 1.0, Linux.
Duh. Sorry. Moving.
Component: Layout → XP Toolkit/Widgets: XUL
reassign
Assignee: attinasi → hyatt
QA Contact: petersen → shrir
C'mon, hyatt's on sabbatical and anyway, varga has been a great tree (outliner) owner for a long time. /be
Assignee: hyatt → varga
This one is quite similar to bug 148417. Perhaps they should be merged.
A testcase would be helpful
Varga: > A testcase would be helpful That's what the URL is :) Here's the contents of the xul file at the URL: <window id="example-window" title="Example 6.3.1" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <groupbox> <tree flex="1"> <treecols> <treecol id="sender" label="Sender" flex="1"/> <treecol id="subject" label="Subject" flex="2"/> </treecols> <treechildren> <treeitem> <treerow> <treecell label="joe@somewhere.com"/> <treecell label="Top secret plans"/> </treerow> </treeitem> <treeitem> <treerow> <treecell label="mel@whereever.com"/> <treecell label="Let's do lunch"/> </treerow> </treeitem> </treechildren> </tree> </groupbox> </window> HTH Rob
Arman: > This one is quite similar to bug 148417. Perhaps they should be merged. This is to do with rendering, not events. It is similar in that it has to do with Trees, which doesn't seem enough to make the bugs duplicates and merge. I've no clue if the events also break, as I can't see the tree to find out ;) Rob
ah, sorry your <groupbox> needs flex="1"
Urgh, yes, flex=1 fixes. Possibly Evangelism to remove the need for the flex as the col headers render without it making it look more than a little strange. But bug itself is invalid. Thanks :) Rob
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: shrir → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.