Closed Bug 393459 Opened 12 years ago Closed 12 years ago

Can't use <splitter resizeafter="grow"> with no next sibling

Categories

(Core :: XUL, defect)

defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: neil, Assigned: neil)

Details

(Keywords: testcase)

Attachments

(2 files)

Attached file Test case
resizeafter="grow" causes a splitter to ignore its following siblings while it is dragged. However it doesn't bother dragging if it doesn't find any siblings to ignore. As a workaround you can use a collapsed spacer.
Attached patch Proposed patchSplinter Review
I actually noticed the bug trying to create a horizontally scrolling tree with resizable columns - without this fix you can't readily resize the last column.
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #277952 - Flags: superreview?(bzbarsky)
Attachment #277952 - Flags: review?(enndeakin)
Attachment #277952 - Flags: review?(enndeakin) → review+
Attachment #277952 - Flags: superreview?(bzbarsky) → superreview+
Comment on attachment 277952 [details] [diff] [review]
Proposed patch

Low-risk patch to make horizontally scrollable trees a bit more useful.
Attachment #277952 - Flags: approval1.9?
Comment on attachment 277952 [details] [diff] [review]
Proposed patch

a1.9=dbaron
Attachment #277952 - Flags: approval1.9? → approval1.9+
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.