See
You should not automatically close topics 24 hours after the last reply, you should rather close them after the issue is fixed.
See
You should not automatically close topics 24 hours after the last reply, you should rather close them after the issue is fixed.
The issue was fixed based on the reported details.
If somehow for your an issue persists, it must be that other things affect this, so please provide details how it can be reproduced.
See attached picture. If I open a project and change one property and then save. The left and width property of all the TAdvToolBarButtons and TAdvToolBars changes
On line 29931 of AdvToolBar.pas version 6.8.4.1 there is a compiler directive that was not there in version 6.8.4.0 of this file:
{$IFNDEF DELPHIXE15_LVL}
if AutoSize then
{$ENDIF}
This compiler directive enables more that 300 lines of code that was not executed if autoisize was false in version 6.8.4.0
If you look at the picture I attached to the closed topic, it looks like the width of the buttons is automatically set to the size that would be needed if the button text was located to the right of the button image, but in my project the text is located below the button image
Unit1.zip (2.7 KB)
To reproduce the issue open the attached pas and dfm file, set the width of the two TAdvToolBarButtons to 30, save, close and repopen. Now you see that the widths is not 30 anymore, the widths is now 53
If you do the same in version 6.8.4.0 the width will remain 30 when doing the same as above
We further investigated and implemented a fix for this that will be included in the next release.
Thanks! in the meantime I have managed to make my toolbars look almost like before and not affected by this issue, by setting AutoSize = False, DrawPosition.Enabled = False and GlyphPosition = gpTop