Jump to content

Changing background color and text color of TUniBitBtn


chefdackel
 Share

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):

 

post-254-0-45353300-1393339518_thumb.jpg

 

to this button:

 

post-254-0-37358200-1393339530_thumb.jpg

 

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

Peter

 

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.

Guest
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.

 Share

×
×
  • Create New...