 |
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
Posted: Sun May 17, 2009 4:00 pm
[3.07] Changed all my toggle button colors |
Using 3.07 caused many of my toggle button's colors to change. Here's an example button:
Version 3.06
Code: |
<button name="deathsight_ind" type="Toggle" autosize="false" width="8" height="16" toolbar="3" mousebtn="Left" toolstyle="true" transparent="false" color="darkred" textcolor="white" priority="31">
<caption>-</caption>
<expr>%iskey(@Defenses, deathsight)</expr>
<tooltip>deathsight</tooltip>
<state caption="-" mousebtn="Left" color="green"></state>
</button>
|
Version 3.07
Code: |
<button name="deathsight_ind" type="Toggle" autosize="false" width="8" height="16" toolbar="3" toolstyle="true" color="darkred" textcolor="white" priority="31" id="1922">
<caption>-</caption>
<expr>%iskey(@Defenses, deathsight)</expr>
<tooltip>deathsight</tooltip>
<button id="1923">
<caption>-</caption>
</button>
</button>
|
They used to be either green background or red background both with white foreground. When I loaded the new version it changed the green to something else and changed the foreground to black. |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon May 18, 2009 4:48 pm |
While it is definitely possible for this new version to not import button state colors from previous versions, there is definitely a bug regarding the XML not having the color="green" in this case.
The new version is only supposed to have problems importing colors if you previously had the "Transparent" flag enabled, but still had a different color set for the button in the button color box. Loading that file into the new version will cause the button to be colored and not transparent. There isn't any way to get around that issue because of how the Transparent option was changed/removed in this version, but I don't think this is the same as the color problem you are reporting here. So I've added this to the bug list to look into. |
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|