When a button has a text that is larger than 32 pixels, the content of the button is left align, but it should be centered, as in other themes.
See the screen shot for an example.
3 Answers, 1 is accepted
0
Vladimir Stoyanov
Telerik team
answered on 14 Aug 2018, 02:17 PM
Hello Patrick,
Thank you for the attached picture.
In order to achieve what you are going for, you can set the HorizontalContentAlignment property of the RadRibbonButton to Center, since the HorizontalAlignment property of the ContentPresenter is bound to it. Here is what I have in mind:
Can you give this a try and let me know if it works for you?
Regards,
Vladimir Stoyanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.
The RadRibbonSplitButton has its icon correctly aligned, not the RadRibbonButton, so it should be a theme bug, not something we should correct "manually".
For the time being you can set the HorizontalContentAlignment property as suggested in my previous reply.
I remain at your disposal for any further assistance you might need.
Regards,
Vladimir Stoyanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.