The Apply and Cancel buttons in the ColorPicker editor popup renders with a leading space before the visible label text.
There is a leading space for the button labels read "Apply" and "Cancel."
There should be no leading white space.
Override the _renderActionButtons function (Progress Kendo UI Dojo)
(function ($, kendo) {
var flatColorPicker = kendo.ui.FlatColorPicker;
var originalRenderActionButtons = flatColorPicker.fn._renderActionButtons;
flatColorPicker.fn._renderActionButtons = function (options, buttonOptions) {
if (kendo.isPresent(options) && kendo.isBlank(options.buttonsTemplate)) {
var encode = kendo.htmlEncode;
return kendo.html.renderButton(
`<button class="k-coloreditor-apply" title="${encode(options.messages.apply)}">${encode(options.messages.apply)}</button>`,
$.extend({}, buttonOptions, { fillMode: null, themeColor: "primary" })
) + kendo.html.renderButton(
`<button class="k-coloreditor-cancel" title="${encode(options.messages.cancel)}">${encode(options.messages.cancel)}</button>`,
$.extend({}, buttonOptions, { fillMode: null })
);
}
return originalRenderActionButtons.call(this, options, buttonOptions);
};