Kendo Splitter: Resize Folding Icon

Kendo Splitter has a collapsible property that I want to use. However, the icon is a very small arrow that is not intuitive at all, users hardly see it. Even when they know it, the icon is so small that it takes a while to click on it, as hovering such a small icon is not that fast.

Splitter

I want to make it bigger. I managed to increase the separator itself

.k-splitbar.k-splitbar-horizontal{
    width: 20px; 
}

      

but not a small icon.

I found this post from a user with the same problem as me, but the solutions do not work there and the user hasn 't given any feedback on them.

+3


source to share


2 answers


As stated, you can overlay the rules and here is a description of all the rules for a flat theme



.k-splitbar-horizontal .k-resize-handle {
   background: url('/Content/css/Libs/KendoUI/Flat/sprite_2x.png') -330px -573px;
   width: 20px; height: 20px;
}
.k-splitbar-horizontal-hover > .k-resize-handle {
   background: url('/Content/css/Libs/KendoUI/Flat/sprite_2x.png') -360px -573px;
   width: 20px; height: 20px;
}

.k-splitbar-horizontal .k-icon.k-expand-prev{
   background: url('/Content/css/Libs/KendoUI/Flat/sprite_2x.png') -331px -389px;
   width: 20px; height: 20px;
}
.k-splitbar-horizontal .k-icon.k-collapse-prev{
   background: url('/Content/css/Libs/KendoUI/Flat/sprite_2x.png') -331px -454px;
   width: 20px; height: 20px;}

.k-splitbar-horizontal-hover > .k-icon.k-expand-prev{
   background: url('/Content/css/Libs/KendoUI/Flat/sprite_2x.png') -361px -389px;
   width: 20px; height: 20px; 
}
.k-splitbar-horizontal-hover > .k-icon.k-collapse-prev{
   background: url('/Content/css/Libs/KendoUI/Flat/sprite_2x.png') -361px -454px; 
   width: 20px; height: 20px; 
}
.k-splitbar.k-splitbar-horizontal{
    width: 15px;}

      

0


source


I know that 5 years is already too late, but in case anyone is struggling with this, here is my solution in SASS.

.k-splitbar{
    .k-i-arrow-60-left, .k-i-arrow-60-right{
        z-index: 100000;
        position: relative;
        background: #ccc;
        border-radius: 0 10px 10px 0;
        bottom: -32px;
        left: 20px;
        width: 34px;
        height: 30px;
        font-size: 30px;
    }
}

      



This works for horizontal panels, you can follow a similar strategy for vertical ones.

0


source







All Articles