Hi
Before updating to the latest component pack (from version 7.7.4.0) I've always added one or more AdvComboBox into an AdvToolBar placing some text in their LabelCaption without any problem.
I notice that when I rebuild my old projects the alignment of the labels gets screwed up, and apart from the first combobox all subsequent labels get obscured.
I am running the latest version of RAD Studio 10.2 Tokyo Release 2 with the Hotfix.
Bruce.
It's weird because I've just recompiled another project which uses toolbar's with multiple combo boxes and it's completely fine.
But if you start a new 32-bit Windows project drop a AdvDockPanel, AdvToolBar and add a couple of AdvComBox's with some labeltext and then try to arrange them, you'll find that you have little control over any of the components in the toolbar in the IDE.
As a solution to have full control over positioning of controls on the toolbar, please insert a container or panel on which you can add the TAdvComboBox or other controls and fully control the position of these controls on the container or panel.
Bruno
It's the oddest thing in that it only affects a small number of the many tool bars that I use.
The problem is definitely down to when you add some label text - delete the text the alignment problem disappears.
I find the best solution is to use a separate label component.- not auto-size, right aligned and layout tlCenter.
Bruce.