Jump to content

Changing background color and text color of TUniBitBtn


Recommended Posts

I searched the forum some time now but did not find a solution: how to change the background color and text color of all TUniBitBtn (using theme Neptune)? So of all buttons used in the application, not a specific one, thats said changing the default layout of the theme.


From this button (default Neptune):




to this button:




I found something from famous ExtJS-Guru "Delphi Developer" in this forum to change the fontsize of a pagecontrol:


UniSession.AddJS('Ext.select(''.x-tab-default .x-tab-inner'').setStyle(''font-size'',''9px'');');

but how to change background color and text color of the TUniBitBtn?


Best Regards



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...