Sign in Join

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

Mailing lists / lazarus / 2013-02

How to control components order on the palette?

5 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Alexander Klenin

As far as I understand, conponents are now listed in the order of registration, which depends on the (alphabetical?) order of packages.

Is there any way to control that?
Specifically, I'd like "TGUIConnectorBGRA" component, which is currently placed first
on the "Chart" page, to be placed last (or somewhere in the middle) instead.

Alexander S. Klenin

Reply by email

zeljko
to Alexander Klenin
Alexander Klenin wrote 9 lines
As far as I understand, conponents are now listed in the order of registration, which depends on the (alphabetical?) order of packages. Is there any way to control that? Specifically, I'd like "TGUIConnectorBGRA" component, which is currently placed first on the "Chart" page, to be placed last (or somewhere in the middle) instead.

It kills me too. Each rebuild of lazarus makes another placement of component tabs (except for standard tabs).

zeljko

Reply by email

Mattias Gaertner
to Alexander Klenin: As far as I understand, conponents are now listed in the order of registration, which…
As far as I understand, conponents are now listed in the order of registration, which depends on the (alphabetical?) order of packages.

Packages are sorted only topologically and by dependency lists, not alphabetically.
Components are ordered in registration order.

Is there any way to control that?

The idea was to implement a GUI to let the user define the order.

Specifically, I'd like "TGUIConnectorBGRA" component, which is currently placed first on the "Chart" page, to be placed last (or somewhere in the middle) instead.

Maybe we can add some mechanism to let packages define some priorities for their components.

Mattias

Reply by email

Juha Manninen
to Mattias Gaertner
Mattias Gaertner wrote
Maybe we can add some mechanism to let packages define some priorities for their components.

The registration order is now the mechanism, isn't it? The GUI will be important for users' custom changes.

Juha

Reply by email

Mattias Gaertner
to Juha Manninen
Show quoted text 6 lines
On Tue, Feb 5, 2013 at 12:43 PM, Mattias Gaertner wrote: > Maybe we can add some mechanism to let packages define some priorities > for their components. The registration order is now the mechanism, isn't it?

Yes.
But maybe a package A that extends another package B, wants to place its components in front or in between.

The GUI will be important for users' custom changes.

Mattias

Reply by email