All my controls have changed appearance

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
grovecat
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 99
Joined: Thu Aug 04, 2011 10:32 am

All my controls have changed appearance

Post by grovecat » Sat Feb 25, 2012 10:32 am

I was making changes to some buttons, and inadvertently changed something in the stack inspector. Now, although my controls look the same as they did in the IDE, on the iPad all controls on all cards are missing two of the four borders, as if they have invisible shadows. So far I have been unable to make them look as before on the iPad, and I have set parameters on the stack Inspector to be the same as in a previous version, which behaves normally.

There have been quite a lot of script changes since the previous version, but as a last resort I can copy the current scripts to a text app and then paste them into the previous version. It would be easier if I knew how to restore things.

Any suggestions?

TIA
Don

FireWorx
Posts: 362
Joined: Wed Sep 07, 2011 9:39 pm

Re: All my controls have changed appearance

Post by FireWorx » Sun Feb 26, 2012 8:28 am

I had a problem with my png images that I was using for buttons icons being clipped on the borders. Mostly on the right side. I followed a recommendation i got here to use jpg's if you can't reset the alpha of your png's to 0. It worked for me.
Dave

grovecat
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 99
Joined: Thu Aug 04, 2011 10:32 am

Re: All my controls have changed appearance

Post by grovecat » Sun Feb 26, 2012 11:10 am

Thanks Dave

However, they are all native controls, no imported images, and they were fine until I did something strange. Anyway, I copied and pasted all the scripts into a previous version so it is fixed. As a sort of bonus I do now have all the scripts in a single text file which I suppose could come in useful in some sort of disaster.

Cheers
Don

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: All my controls have changed appearance

Post by jacque » Sun Feb 26, 2012 8:20 pm

From the description of the problem it sounds like you set the threeD property to true.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

FireWorx
Posts: 362
Joined: Wed Sep 07, 2011 9:39 pm

Re: All my controls have changed appearance

Post by FireWorx » Mon Feb 27, 2012 5:55 am

As far as backing up your work. I have been compressing (zipping) my stack folder daily and overwriting the previous zip. Its come in handy a couple times. Keeping most of your code in the stack and card scripts also makes things easier to rebuild. Also referencing objects by name rather than Id's because if you copy and paste into a new stack you may get a whole new set of Id's that no longer link up.

Just remember to close your stack out and close and relaunch live code (unless you trust the remove from memory feature) to get the corrupt stack out of memory before you load the backed up zip. In the old days Metacard and RunRev (versions 1.2 to say 4.0) used to provide frequent system crashes. I'm so thankful those days are gone!

Dave

Post Reply