Hi,
Can you try this?
procedure TMainForm.UniFormCreate(Sender: TObject);
begin
with UniBitBtn1, JSInterface do
begin
JSCallGlobal('Ext.util.CSS.createStyleSheet',
['#' + JSId +'.x-btn .x-btn-inner { color: gray !important;}',
JSName + '_css1']);
JSCallGlobal('Ext.util.CSS.createStyleSheet',
['#' + JSId +'.x-btn-over .x-btn-inner { color: black !important;}',
JSName + '_css2']);
end;
end;
And don't forget to destroy them.
procedure TMainForm.UniFormDestroy(Sender: TObject);
begin
with UniBitBtn1, JSInterface do
begin
JSCallGlobal( 'Ext.util.CSS.removeStyleSheet',[JSName + '_css1']);
JSCallGlobal( 'Ext.util.CSS.removeStyleSheet',[JSName + '_css2']);
end;
end;