This is a migrated thread and some comments may be shown as answers.

Colorpicker buttons do not grow

2 Answers 45 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
Tayger
Top achievements
Rank 1
Iron
Tayger asked on 12 Nov 2016, 12:09 PM

Hello 

Not a big thing, just wanted to report it: The ok/cancel button do not grow (to a specific) size. I added the German text "Übernehmen" for the ok button but it will be cut off on the right side (see attached screenshot). Maybe this is also a problem in other languages, no idea. I would expect the button would grow with its text content to a specific size (not to overlap the colorpicker window).

Regards

2 Answers, 1 is accepted

Sort by
0
Orlin
Telerik team
answered on 15 Nov 2016, 07:47 AM
Extension settingsExtension settingsExtension settingsExtension settings

Hello Tayger,

The width of the button element in the Colorpicker is set to a specific width in order to achieve consistent width between the two buttons. In order to work around that, you can add the following to your page's styles:

.k-flatcolorpicker .k-controls .k-button {
    width: auto;
}

 

Or you can have a look at the following dojo: http://dojo.telerik.com/UZEQA

I hope this helps.

Regards,
Orlin
Telerik by Progress
 
Build rich, delightful, *native* Angular 2 apps with Kendo UI for Angular 2. Try it out today! Kendo UI for Angular 2 (currently in beta) is a jQuery-free toolset, written in TypeScript, designed from the ground up to offer true, native Angular 2 components.
 
0
Tayger
Top achievements
Rank 1
Iron
answered on 30 Nov 2016, 07:57 PM
Thank you, thats working fine!
Tags
ColorPicker
Asked by
Tayger
Top achievements
Rank 1
Iron
Answers by
Orlin
Telerik team
Tayger
Top achievements
Rank 1
Iron
Share this question
or