|
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Tue Dec 04, 2007 10:34 am
[2.14a] Changing theme resetting buttons |
Well I was messing around and changed my theme to Flat because I was looking at all the themes before they get removed completely. As soon as I changed it to Flat Cmud crashed and when I reopened and changed to XP theme all my flipping buttons were screwed up again.
Here is the same button now...
Code: |
<button name="btn_herbs" type="Toggle" variable="@AutoHerb" transparent="false" color="#400000" textcolor="white" priority="2030" id="187">
<caption>Herbs</caption>
</button> |
I also moved these buttons to toolbar 1 and if you notice, the toolbar isn't even showing here. So the moving to a different toolbar or just opening the other theme caused it this time. |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Tue Dec 04, 2007 8:02 pm |
Some more detail from the thread this was split from:
oldguy2 wrote: |
Now on to the topic at hand. As Arde mentioned there is a problem with buttons that showed up. This is the only bug that I have encountered. All of my toggle buttons ended up being reset a couple times and I had to go back in and add the second state. Once this happened when I exported something to XML and the other I don't have any idea. It happened after I closed CMUD and then reopened it and all my toggle buttons changed back to transparent and I had to go back and add the on state to each one. There is no explanation why that I could reproduce. I'm thinking it is mainly when doing the exporting to XML OR I also moved my toolbars around too. Come to think of it I believe that might be what happened where I closed CMUD and reopened it and it happened.
Example of one of my buttons:
Code: |
<button name="btn_herbs" type="Toggle" variable="@AutoHerb" autopos="false" top="23" toolbar="4" transparent="false" color="#400000" textcolor="white" priority="2030" id="187">
<caption>Herbs</caption>
<state caption="Herbs" color="#004000"></state>
</button>
|
The state part somehow vanishes and I just noticed when I went to copy this there is a 5th line under /button for some odd reason on all of them. Anyway, it is seriously annoying! |
|
|
|
|
|
|