Page 1 of 1
listbrowser hierarchical mode
Posted: Wed Feb 25, 2015 2:03 am
by mritter0
I would like an option for listbrowser, using hierarchical mode, to hide all of the lines.
LISTBROWSER_HideHierarchicalLines, TRUE,
Still allow for the 3 custom images.
Re: listbrowser hierarchical mode
Posted: Wed Feb 25, 2015 10:27 am
by trixie
The listbrowser can already hide the hierarchical (children) nodes. Use the LBM_HIDECHILDREN method.
Re: listbrowser hierarchical mode
Posted: Thu Feb 26, 2015 2:16 am
by mritter0
I know that; I use it in my program.
I want to not display the black lines that branch down and out for each item. The "directory tree" if you will.
While I am at it: how about different colors (light grey) and more subtle lines (slightly dashed/dots). The black is just so bold.
Re: listbrowser hierarchical mode
Posted: Thu Feb 26, 2015 10:19 pm
by nbache
mritter0 wrote:I want to not display the black lines that branch down and out for each item. The "directory tree" if you will.
GUI Prefs, Gadgets->Classes->ListBrowser->uncheck Connect nodes with lines.
So it is a user choice, not a programmer choice.
Best regards,
Niels
Re: listbrowser hierarchical mode
Posted: Mon Mar 02, 2015 2:08 am
by mritter0
It could/should be both.

Re: listbrowser hierarchical mode
Posted: Wed May 27, 2015 2:53 am
by mritter0
Not to start a conflict, but in the GUI Prefs->Gadgets->Clicktab there is a checkbox for "Evenly sized tabs". This is also a programmer option CLICKTAB_EvenSize.
So why I can't I have my request be a programmer option? Not everything is covered in the GUI Prefs for every gadget type. As in, Chooser "Cycle symbol style" and "justification" should also be programmable. Programmable in CLICKTAB is the CloseImage and ClosePlacement, but they are not in the GUI Prefs.
It is my program. If I want a certain look I should be able to specify any option and override the GUI Prefs. Else, if I want the defaults, I don't specify anything. Or a flags that says use the default. CLICKTAB_EvenSize, TRUE/FALSE/DEFAULT,
I am not nit-picking, but I do want full control of how my program looks for certain aspects.
Re: listbrowser hierarchical mode
Posted: Wed May 27, 2015 12:35 pm
by broadblues
The programtical control for Even sized tabs is intended for dynamic tabs whereas the global control is for general tabs in fixed layouts, at least that's how I think of it.
As to full control of the listbrowser look, investigate the render hook.