align icon to the right of button text

2 posts, 0 answers
  1. Dean
    Dean avatar
    73 posts
    Member since:
    Oct 2012

    Posted 09 Sep 2014 Link to this post

    What is the best way to align an icon to the right of a button? Is there a built in way or do I need to add my own span for the icon and align it with CSS?

    Regards
    Dean
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2593 posts

    Posted 10 Sep 2014 Link to this post

    Hi Dean,

    In order to achieve this you should override the default styling using custom CSS rules. As an example: 
    .k-button .k-icon {
       float: right;
       margin: 2px;
    }

    Regards,
    Iliana Nikolova
    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
Back to Top