Width of ColorPicker

2 posts, 0 answers
  1. Michel
    Michel avatar
    18 posts
    Member since:
    Sep 2011

    Posted 29 Sep Link to this post

    Is there a way to change the width of the control. I've try htmlattribute with a class that include the width nothing is changing.

    Any clue ?

    Best regards

  2. Patrick
    Admin
    Patrick avatar
    173 posts

    Posted 03 Oct Link to this post

    Hello Michel,

    The best way to change the width of the Kendo ColorPicker is using CSS.  Please take a look at this Kendo UI Dojo by Progress which illustrates one approach.  Here is the styling:

    <style>
         .k-colorpicker{
           width: 300px;
         }
     
         .k-colorpicker .k-selected-color{
           width: 268px;
         }
     
         div.k-flatcolorpicker{
           width: 500px;
         }
     
         .k-colorpalette .k-palette{
           width: 600px;
         }
       </style>

    Hope this helps!

    Regards,
    Patrick
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. Telerik UI for ASP.NET Core is out
Back to Top