Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2021-01

Component-View Presets

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

R.Smith

Hi All, I'm using Lazarus in a multi-screen setup and prefer the Component-view form rather than using the menu-integrated top-palette to pick components from.

In the Component-view there are 3 tabs: List, Palette and Inheritence - All of them great for what they do.

My preference is to mainly use the Palette tab here, and then always start from the "Collapsed" state. (I will open the section I wish to use by clicking it - this is much faster than scrolling or typing in the search bar).

Currently, every time i start Lazarus, I have to click the "Palette" Tab to select it, then right-click the list and do "Collapse all". It's not an insurmountable pain, but it is a pain in an otherwise flawless environment.

Is there any way I could achieve that in a setting or such so that Lazarus starts by showing the Palette tab and starts it with the Collapsed state?

Thanks you kindly,
Ryan

Reply by email

Bo Berglund
to R.Smith
"R.Smith wrote 21 lines
Hi All, I'm using Lazarus in a multi-screen setup and prefer the Component-view form rather than using the menu-integrated top-palette to pick components from. In the Component-view there are 3 tabs: List, Palette and Inheritence - All of them great for what they do. My preference is to mainly use the Palette tab here, and then always start from the "Collapsed" state. (I will open the section I wish to use by clicking it - this is much faster than scrolling or typing in the search bar). Currently, every time i start Lazarus, I have to click the "Palette" Tab to select it, then right-click the list and do "Collapse all". It's not an insurmountable pain, but it is a pain in an otherwise flawless environment. Is there any way I could achieve that in a setting or such so that Lazarus starts by showing the Palette tab and starts it with the Collapsed state?

Is it not possible to set the palette in the wanted state and then create a custom desktop with a new name.
Then if you use this desktop maybe the palette will appear in the wanted state?
I cannot test this myself because I have crafted a custom desktop I don't want to destroy and I don't have space on my screen either (it is just 1920x1200 px).

Bo Berglund Developer in Sweden

Reply by email

Juha Manninen
to R.Smith: Hi All, I'm using Lazarus in a multi-screen setup and prefer the Component-view form…

On Sun, Jan 3, 2021 at 1:59 PM R.Smith via lazarus <

wrote: ..., but it is a pain in an otherwise flawless environment.

Lazarus project has over 2000 open bug reports, but yes it is *almost* flawless.
:)

Is there any way I could achieve that in a setting or such so that

Lazarus starts by showing the Palette tab and starts it with the Collapsed state?

The chosen tab, in this case Palette tab, should be persistent and stored in a configuration file.
It will be applied for sure if you implement it.

The Expanded/Collapsed state would require an option. Where to put it? The global options page for Component Palette is crowded. A new page for just 1 or 2 new options sounds like waste of space.
Any ideas?
If the Component-view window gets its own options, maybe the "Keep open" Checkbox should go there, too.

Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20210104/2892d960/attachment.html>

Reply by email

Juha Manninen
to Juha Manninen

In r64336 I made the selected tab (PageIndex) persistent. I also added a test for define NoComponentListTreeExpand. Build Lazarus with it and the trees will not open as expanded. The define can be replaced with a proper option if you find a good place for it. Please test.

Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20210105/3c7c5671/attachment.html>

Reply by email

R.Smith
to Juha Manninen

Awesome - thanks.

Will get right on with testing and report back.

Juha Manninen wrote 9 lines
In r64336 I made the selected tab (PageIndex) persistent. I also added a test for define NoComponentListTreeExpand. Build Lazarus with it and the trees will not open as expanded. The define can be replaced with a proper option if you find a good place for it. Please test. Juha

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20210105/cfd121d2/attachment.html>

Reply by email