RealyUniqueName/StablexUI — pull request #3 by empika (2013-01-29 19:22:26+00:00)
Title: Tabs!!

Hey

Here is the basic workings of tabs. Hopefully it should be fairly obvious what is happening if you look at the sample and the code. It is basically a bunch of StateButtons/CheckBoxes and a ViewStack, wrapped in a TabStack. Clicking a tab shows the corresponding content (same index) in the ViewStack.

I have also taken the liberty of extending the Text class to add a highlight format as I have found this useful, and couldn't work out an easy way to do this using just skins.

Thanks,
Edd