Do you guys have any tips on how to design buttons so that they would look good after translation into foreign languages, like German or Korean? After translation text can be too long
1 Answer, 1 is accepted
0
Rumen
Telerik team
answered on 06 Jul 2021, 08:46 AM
Hi Nancy,
I the width property is not set (default case) the button will accommodate the whole text and will be resized accordingly:
<telerik:RadButtonRenderMode="Lightweight"ID="Button1"runat="server"Text="Standard Button With No Icons and Very Long Text Inside"></telerik:RadButton>
<style>.RadButton.rbText {
display: block;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
</style><telerik:RadButtonRenderMode="Lightweight"ID="Button1"runat="server"Width="80px"Text="Standard Button With No Icons and Very Long Text Inside"></telerik:RadButton>