Skip to content

Commit f07e694

Browse files
committed
Sync with Kendo UI Professional
1 parent 0bf90e0 commit f07e694

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

docs/api/javascript/ui/buttongroup.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,9 @@ Note: position configuration, other than `inline` requires the badge to be align
181181

182182
### items.badge.shape `String` *(default: 'rounded')*
183183

184-
Specifies the shape of the badge. Valid options are: `rectangle`, `rounded`, `pill`, `circle`, `dot`.
184+
185+
Specifies the shape of the badge.
186+
Valid options are `rectangle`, `rounded`, `pill`, `circle`, `dot`.
185187

186188

187189
### items.badge.size `String` *(default: 'medium')*
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
title: Displaying Switch Label with Bootstrap Main Sass Theme
2+
description: Learn how to display the switch label correctly when using the Bootstrap Main Sass theme for the Kendo UI Switch.
3+
type: how-to
4+
page_title: Displaying Switch Label with Bootstrap Main Sass Theme
5+
slug: switch-displaying-label-bootstrap-main-theme-kendo-jquery
6+
tags: switch, bootstrap, label, theme, display, kendo, jQuery
7+
res_type: kb
8+
---
9+
## Environment
10+
| Product | Version |
11+
|-----------|----------------|
12+
| Switch for Progress® Kendo UI® | 2024.1.319 |
13+
14+
## Description
15+
When using the Bootstrap Main Sass theme with the Switch for Kendo UI, the switch label by default will not be displayed.
16+
17+
## Solution
18+
To display the Kendo UI Switch labels with the Bootstrap Main theme, add the following CSS styles to your code:
19+
20+
```css
21+
.k-switch-label-on, .k-switch-label-off {
22+
display: block;
23+
font-size: 11px;
24+
}
25+
26+
.k-switch-label-on {
27+
color: white;
28+
left: 4px;
29+
}
30+
31+
.k-switch-label-off {
32+
right: 4px;
33+
}
34+
```
35+
36+
Please refer to this [Progress Kendo UI Dojo](https://dojo.telerik.com/ijeNiduD) for a live example demonstrating this approach.

0 commit comments

Comments
 (0)