Closed Bug 116118 Opened 23 years ago Closed 22 years ago

Setting hidden="false" on <outlinercols> should hide all columns

Categories

(Core :: XUL, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 117921
Future

People

(Reporter: hwaara, Assigned: hyatt)

Details

Sometimes you don't want to show the columns in an outliner, so now that we 
have a mandatory <outlinercols> element, it would be useful to be able to set 
hidden="false" on that to hide them all.
Two questions that beg answering:

1. If we were to have such a capability, why would we use hidden="false"?  
False means NOT true.  That statement, if read aloud in English, would be "NOT 
hidden".  In Spanish, "NO ocultado."

2. In what cases do you want to hide all the outliner columns but not hide the 
outliner itself? What would be visible in the outliner if all of its columns 
were hidden?
Setting hidden on an <outlinercols> would mean that you hid the actual column
_headers_. This is very useful when you don't support any kind of sort, and the
columns headers are just useless... It frees up some space.
The current implementation of outliner body depends on visible column headers.
We need headers to get width and order of columns.

Only workaround I know is to minimize headers height.
Status: NEW → ASSIGNED
Target Milestone: --- → Future

*** This bug has been marked as a duplicate of 117921 ***
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.