How to handle right alignment in Bevel button?

Hello

I wanted to create a Bevel button with icon on the left side and text on the right side (align right). When I align the text “New” to right I can see only “N…” (see attachment) even though there is space left to display “New”.

Bildschirmfoto 2022-02-23 um 21.33.44

→ Xojo 2021 / V3.1, Mac

Could you take a picture of your inspector when selected on the control and post it to see if we can see what is causing the issue? I can’t replicate it in windows, but it might be a mac issue.

you can set the caption delta i believe
https://documentation.xojo.com/api/deprecated/bevelbutton.html#bevelbutton-captionDelta

set it to a negative value like -10 (to move left 10 px)

Can try but that’s a bit weird as there is an alignment right option

Here it is:

It’s already set that way in editor mode (same in run mode):

Bildschirmfoto 2022-02-25 um 00.05.55