listbrowser hierarchical mode

AmigaOS users can make feature requests in this forum.
Post Reply
User avatar
mritter0
Posts: 214
Joined: Mon Aug 25, 2014 9:41 pm
Location: Bettendorf, IA, USA

listbrowser hierarchical mode

Post 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.
Workbench Explorer - A better way to browse drawers
User avatar
trixie
Posts: 409
Joined: Thu Jun 30, 2011 2:54 pm
Location: Czech Republic

Re: listbrowser hierarchical mode

Post by trixie »

The listbrowser can already hide the hierarchical (children) nodes. Use the LBM_HIDECHILDREN method.
The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
User avatar
mritter0
Posts: 214
Joined: Mon Aug 25, 2014 9:41 pm
Location: Bettendorf, IA, USA

Re: listbrowser hierarchical mode

Post 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.
Workbench Explorer - A better way to browse drawers
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1714
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: listbrowser hierarchical mode

Post 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
User avatar
mritter0
Posts: 214
Joined: Mon Aug 25, 2014 9:41 pm
Location: Bettendorf, IA, USA

Re: listbrowser hierarchical mode

Post by mritter0 »

It could/should be both. ;)
Workbench Explorer - A better way to browse drawers
User avatar
mritter0
Posts: 214
Joined: Mon Aug 25, 2014 9:41 pm
Location: Bettendorf, IA, USA

Re: listbrowser hierarchical mode

Post 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.
Workbench Explorer - A better way to browse drawers
User avatar
broadblues
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 600
Joined: Sat Jun 18, 2011 2:40 am
Location: Portsmouth, UK
Contact:

Re: listbrowser hierarchical mode

Post 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.
Post Reply