Problems with AutoSize True of TAdvGlowButtons on RibbonBar

After upgrading from TMS VCL UI Pack 13.1.6.3 to 13.6., as well as from Delphi 12.3 to Delphi 13, we encountered a problem with some of our TAdvGlowButtons on some of our TAdvToolBarPagers.

If their Autosize is set to True some of them became a few pixels larger, or change their top position. This leads to buttons breaking into each other, text breaking off and other related problems, and i cant fix it manually because it obviously resets the next time i load the .dfm because of the autosize property, which we need for the associated buttons.

In the changelog for v13.5.13.0 i saw something about “Fixed : Regression with auto size buttons on ribbon”. This does seem to be similar, or even to be our problem. If thats the case this does not seem to have been fixed. Otherwise if this is not a bug but an intended feature, is there some way to go around this? We have ribbons in almost all of our windows, and it would be extremely tedious to manually have to check and fix them, even if we find a manual fix

Do you have more details to reproduce this, preferably a sample source app + detailed steps how to reproduce?

The only way we managed to get this error was when we opened our project after we upgraded tms and Delphi, especially Delphi from 12.3 to 13.1. We also only got this on toolbars where we had aligned buttons manually, by counting and setting their positions and sizes, and from those it also only affected the buttons who were set to AutoSize = True.

This error even reappeared if one went through the components manually, adjusted them back to their supposed values, and re-opened the project. The way i have gotten around it for now was by setting their Constraints, and manually adjusting some Widths and Spacings

From your description, it appears the issue is already at design-time.
What are the DPI settings on the machine and the form designer DPI settings in the IDE?
You have a project with which we can reproduce something?

The DPI settings are the same, as its the same machine. Its low dpi with 96 PPI. Unfortunately i don’t have a project for you to reproduce it with, as the only project we managed to reproduce it is our main project. We have also now encountered even more problems, like an apparently new CaptionHeight property that was arbitrarily set to 27, and gets applied seemingly when you do changes in the .dfm

I cannot see any DPI related issues when the screen DPI is 96 as well as the IDE form designer. When the DPI is 96 everywhere, I see no reason for DPI related issues.
In order to be able to reproduce & investigate, we really need sufficiently detailed information and preferably a sample source project + instructions to reproduce.

After some more research i figured out that apparently under Delphi 13.1 Embarcadero changed the calculation of WordWrap for Buttons to be more strict. I turned this off on a few buttons that were wrapped weirdly and it made them look as expected again. That solves at least that problem. Im trying to find any of the Buttons now that changed their sizes or positions to see if that problem also stems from WordWrap