Customizing Listbox

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-listbox-spacingNumberk-map-get( $kendo-spacing, 2 )0.5rem
Description
Margin between the listbox elements.
$kendo-listbox-button-spacingNumberk-map-get( $kendo-spacing, 4 )1rem
Description
Margin between the listbox buttons.
$kendo-listbox-widthNumber10em10em
Description
Width of the listbox.
$kendo-listbox-default-heightNumber200px200px
Description
Height of the listbox.
$kendo-listbox-border-widthNumber1px1px
Description
Width of the border around the listbox.
$kendo-listbox-font-familyList$kendo-font-familysystem-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"
Description
Font family of the listbox.
$kendo-listbox-font-sizeNumber$kendo-font-size-md1rem
Description
Font size of the listbox.
$kendo-listbox-line-heightNumber$kendo-line-height-md1.5
Description
Line height of the listbox.
$kendo-listbox-bgColor$kendo-component-bg#ffffff
Description
Background color of the listbox.
$kendo-listbox-textColor$kendo-component-text#212529
Description
Text color of the listbox.
$kendo-listbox-borderColor$kendo-component-border#dee2e6
Description
Border color of the listbox.
$kendo-listbox-item-padding-xNullnullnull
Description
Inline item padding of the listbox.
$kendo-listbox-item-padding-yNullnullnull
Description
Block item padding of the listbox.
$kendo-listbox-drop-hint-border-widthNullnullnull
Description
Width of the border around the drop hint.
$kendo-listbox-drop-hint-widthNumber1px1px
Description
Width of the drop hint.

In this article

Not finding the help you need?