All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Hi,
is there a way to align the content of a Button? The content seems to be always horizontally centered but I need it to be left/start aligned.
Best regard,Thomas
Hi, Thomas,
You can control the content alignment of the button by configuring the `justifyContent` style of the component:
<Button themeColor={'primary'} style={{ width: 200, justifyContent: 'left' }} >
I have prepared a sample implementing the suggested approach, you can test it here:
https://stackblitz.com/edit/react-bmsefd?file=app%2Fmain.jsx
Regards, Vessy Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Hi Vessy,
thank your very much. Works perfect.
Best regards,Thomas