Completed
Last Updated: 10 Sep 2021 06:06 by ADMIN
Damien
Created on: 07 Apr 2014 22:32
Category: Kendo UI for jQuery
Type: Feature Request
7
Switch control support long text labels
The switch control does not currently support long text labels so only text such as ON and OFF are suitable. 

The widget width will not auto expand according to text length so if you want to use text such as Active or Inactive it is restricted.

While an additional <label> element can be used to describe the control we find that having the action wording within the control an efficient way to display it.

http://i.imgur.com/2ph9BMg.png
1 comment
ADMIN
Ianko
Posted on: 10 Sep 2021 06:06

Hello,

You can set up the width of the Switch to a value that satisfies the text that is going to be fitted inside using the width option: https://docs.telerik.com/kendo-ui/api/javascript/ui/switch/configuration/width

Regards,
Ianko
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.