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.
listbrowser hierarchical mode
listbrowser hierarchical mode
Workbench Explorer - A better way to browse drawers
Re: listbrowser hierarchical mode
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
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
Re: listbrowser hierarchical mode
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.
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
- nbache
- Beta Tester
- Posts: 1714
- Joined: Mon Dec 20, 2010 7:25 pm
- Location: Copenhagen, Denmark
- Contact:
Re: listbrowser hierarchical mode
GUI Prefs, Gadgets->Classes->ListBrowser->uncheck Connect nodes with lines.mritter0 wrote:I want to not display the black lines that branch down and out for each item. The "directory tree" if you will.
So it is a user choice, not a programmer choice.
Best regards,
Niels
Re: listbrowser hierarchical mode
It could/should be both.
Workbench Explorer - A better way to browse drawers
Re: listbrowser hierarchical mode
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.
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
- broadblues
- AmigaOS Core Developer
- Posts: 600
- Joined: Sat Jun 18, 2011 2:40 am
- Location: Portsmouth, UK
- Contact:
Re: listbrowser hierarchical mode
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.
As to full control of the listbrowser look, investigate the render hook.