Simulating iPad "Settings" look!
Posted: Sun Jan 09, 2011 4:09 am
I was hashing this out in a separate thread, but once I figured out this hack I thought I should share it.
When you look at Settings on your iPad, you'll see a gray list display that is the typical iOS way of displaying lists. Since LiveCode has no equivalent, I rolled my own. First I tried using the typical field with "list" properties, but that's no good for this. Finally, I figured out a way to do it. It's very close to the real thing - the only thing I can see is that the white letters on the real thing have a slight bevel to them. But here's mine:

I have attached a very simple example stack. Basically each line is its own field, and the blue is a graphic, and I put a white text field on top of the graphic. The example stack has code I slapped together, but it's good enough to demonstrate the purpose.
When you look at Settings on your iPad, you'll see a gray list display that is the typical iOS way of displaying lists. Since LiveCode has no equivalent, I rolled my own. First I tried using the typical field with "list" properties, but that's no good for this. Finally, I figured out a way to do it. It's very close to the real thing - the only thing I can see is that the white letters on the real thing have a slight bevel to them. But here's mine:

I have attached a very simple example stack. Basically each line is its own field, and the blue is a graphic, and I put a white text field on top of the graphic. The example stack has code I slapped together, but it's good enough to demonstrate the purpose.