Theme in MoI5

Next
 From:  bemfarmer
10800.1 
A question about text color, for text on a moi:PushButton.

For the LogSpiral8 script, in the .htm file, I used html color darkgoldenrod for the text of the golden spiral PushButton.
code:
moi:PushButton style="color:darkgoldenrod"


Is there any setting in MoI5 UI Themes to set the text color for PushButton?
Should there be?
Or for some other Button?

- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
10800.2 In reply to 10800.1 
Hi Brian, the MoI UI is set up so that there is one text color used for all text, whether it's in a push button or otherwise.

So in the theme editor there is just one Text color property that can be set, there isn't a separate text color setting for every individual control. Some controls have settings for things like text color for disabled or highlighted states but it is intended for general readability and consistency that regular text should have the same color everywhere.

If you want to have a button with different colored text you can do that as you describe but it won't change with themes and it could happen that your custom button text could be unreadable on certain themes if the button background was of a similar color.

So it's best not to do that and just let the button have the standard text color.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  bemfarmer
10800.3 In reply to 10800.2 
Yeh, makes sense to keep the same master text color.
Using html DarkGoldenRod for the PushButton text was a lark. It does seem to be a pretty good color, for the current 3 master themes.
So the next version of LogSpiral will be reverted back to the master color of the Theme.
And maybe I'll try to do the .pdf help file for it.

Remark:
The current 3 master themes, Default, Dark, and Terminal Green cannot be directly edited. But
new themes "cloned" from them, can be edited.

- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All