FNC Button TextAlign Issue

I have a problem with TMSFNCButton which has a longer Text (something like "TMSFNCButton1 has a longer ButtonText").
If i switch the Textalign property to "Left" the Caption is not properly shown any more. The start position of the text area seems to be wrong calculated.
Could you please investigate this.
Thanks!

What framework? What operating system?

Delphi Multi-Platform Device Win32 , VCL also

tested on Windows 7 / 10
TMSFNCButton has version 1.0.0.3

Created a new empty multi device app, put a fncbutton on the main form, changed the Text property to "TMSFNCButton1 has a longer Buttontext', TextAlign to left and changed the width of the Button.
I see the behaviour also in Design Mode when reloading the form

Delphi Tokyo 10.2

Hi,


The TextAlign is not applied to the text itself, but to the Text Object that is shown. This is related to the button, and the image that can optionally be shown. The code to set the horizontal alignment of the HTML text within the text object is:

  TMSFNCButton1.HTMLText.HorizontalTextAlign := gtaLeading;

You can leave the TextAlign propety set to Client