Touch friendlier toolbar

3 posts, 1 answers
  1. Michael H
    Michael H avatar
    17 posts
    Member since:
    Feb 2010

    Posted 26 Sep 2013 Link to this post

    Is there an easy way to make the toolbar buttons bigger for tablet screens? 

    Thanks
  2. Answer
    Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 27 Sep 2013 Link to this post

    Hello Michael,

    In order to make the Editor toolbar buttons bigger, you need to do the following:

    1. Increase the button size, which is by default 24px:

    .k-button-group .k-tool-icon {
        width: 24px;
        height: 24px;
    }

    2. Replace all button background image styles, because currently they are located in a sprite image, which does not allow bigger button size (you will start seeing adjacent images in the button).

    3. Modify all backgrond position styles, which are now adjusted for the current sprite and button size.

    I would not say that the above procedure is easy, so an easier approach would be to zoom the buttons with CSS:

    .k-button-group .k-tool-icon {
        zoom: 1.4;
    }

    A negative side effect would be that the button icons may not look very well, because they are enlarged.

    Regards,
    Dimo
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Michael H
    Michael H avatar
    17 posts
    Member since:
    Feb 2010

    Posted 27 Sep 2013 Link to this post

    Thanks Dimo.

    I will play around with the CSS files and see what I can do.
Back to Top