Closed
Bug 26079
Opened 25 years ago
Closed 25 years ago
Need way to ensure selection is visible
Categories
(Core :: XUL, defect, P3)
Core
XUL
Tracking
()
VERIFIED
WORKSFORME
M15
People
(Reporter: slamm, Assigned: hyatt)
References
Details
In the sidebar customize dialog you can reorder items with up/down buttons. If you have a bunch of panels, it is easy to move the selected item off the bottom of the visible view. I see that trees have EnsureRowIsVisible(), but I am unable to call this from JavaScript. This would also come in handy when you add panels in the customize dialog. In that case, new panels may be added off the bottom of what is visible.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M15
Assignee | ||
Comment 1•25 years ago
|
||
Hey, alec, didn't you implement this for mail/news?
Comment 2•25 years ago
|
||
yep. EnsureElementIsVisible() http://lxr.mozilla.org/seamonkey/source/rdf/content/public/idl/XULTreeElement.idl This is a dupe of a FIXED bug against me. marking worksforme since I don't feel like hunting it down.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Comment 3•25 years ago
|
||
by the way, that call takes any XUL element in the tree (but not HTML element) and makes it visible - <treerow>, <treecell>, <treeitem> or even <titledbutton>
Reporter | ||
Comment 4•25 years ago
|
||
Ok, great. I missed that in my first search for it.
Status: RESOLVED → VERIFIED
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: paulmac → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•