Closed
Bug 155510
Opened 23 years ago
Closed 7 years ago
Double click on column splitter to fit column size
Categories
(Core :: XUL, enhancement)
Core
XUL
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: yuanyi21, Assigned: janv)
References
Details
Attachments
(1 obsolete file)
This patch also fixed some other minor bugs:
1) nsTreeBodyFrame::CalcMaxRowWidth(), row width includes hidden columns;
2) nsTreeBodyFrame::GetCellWidth(), sometimes can't get cell's image size;
3) nsTreeBodyFrame::GetCoordsForCellItem() and GetCellWidth(), forgets to count
image margin
4) nsTreeBodyFrame::GetCoordsForCellItem(), redundant loop after column
matched;
I reserved an interface - fitAllColumns - for bug 136174
Assignee | ||
Comment 3•23 years ago
|
||
kyle, why are you adding code to nsSplitterFrame ?
Shouldn't be doubleclick handled in tree.xml ?
Jan, this double click action is right on splitter, not on tree column header,
so we must handle it in splitter code. see
http://bugzilla.mozilla.org/show_bug.cgi?id=136174#c3
Comment 5•23 years ago
|
||
*** Bug 157962 has been marked as a duplicate of this bug. ***
What about making Ctrl-Gray+ resize all columns to "best fit" at once? (It works
in some of Windows grid controls)
Wesha: that's handled in either bug 136174 or bug 135749, i've lost track.
Comment 10•21 years ago
|
||
(In reply to comment #4)
> Jan, this double click action is right on splitter, not on tree column header,
> so we must handle it in splitter code. see
> http://bugzilla.mozilla.org/show_bug.cgi?id=136174#c3
Jan, can you please comment on this? Is a new approach needed? Should the patch
be updated?
Prog.
Reporter | ||
Comment 11•21 years ago
|
||
Comment on attachment 90060 [details] [diff] [review]
implemented autosizing function
My patch is 2 years old. I don't think it's still suitable for current code
base.
Attachment #90060 -
Attachment is obsolete: true
Assignee: kyle.yuan → varga
Status: ASSIGNED → NEW
QA Contact: shrir
Whiteboard: seeking r=
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: xptoolkit.widgets
Comment 13•15 years ago
|
||
Ok, apparently this bug also manifests itself in Thunderbird 3.0.3... and there have been 3 issues marked as duplicate of this bug.
Are there any plans to get this nearly 8-year-*OLD* bug looked at and perhaps fixed?
I don't think this is really an "enhancement" since I believe it is standard (and expected) behavior for columns to auto-resize to fit-to-content when double-clicking the right splitter/handle.
Assignee | ||
Comment 14•7 years ago
|
||
I don't think anyone is going to work on this given the plan to remove the XUL "tree" widget (bug 1446335).
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•