Hi
We have strange issue with ribbon buttons alignment and dont know how to solve it, buttons are not alligned left:
Thank you
Here is how it looks
Hello Paul,
There are two things you should consider in your case:
buttonTool2.InstanceProps.AppearancesSmall.Appearance.TextHAlignAsString = "Left";
To summarize – because of the rare combination of buttons starting with A, C and R and because of the antialiasing the buttons’ texts looks a little disaligned even if you set alignment to left.
One possible solution is to add images to your buttons if this is ok with your application’s UI.
Attached is the sample I have tested this with as well as screen shots of the tools at pixel level showing where the issue comes from – the way .NET draws these three letters and the antialiasing involved.
The following solution works for me:
align = Left
Thx a lot