Page 1 of 1

Align tabs on tab panels to the right

Posted: Fri Jul 08, 2011 4:18 pm
by steve10
Tabs on the tab panel are left aligned. Is there a way to align them with the right edge of the tab panel as in the second graphic?
now.png
The way it is
now.png (1000 Bytes) Viewed 3183 times
want.png
The way I want it
want.png (1.46 KiB) Viewed 3183 times
Steve

Re: Align tabs on tab panels to the right

Posted: Fri Jul 08, 2011 4:31 pm
by Klaus
Hi Steve,

I'm afraid you can't, since this control (like most others) is supplied by the underlying OS!
On the Mac the TABS are always centered, see screenshot :D

You will need to "roll your own". 8)


Best

Klaus

Re: Align tabs on tab panels to the right

Posted: Tue Jul 26, 2011 1:21 am
by BarrySumpter
Rolling your own:

LiveCode | User Samples | Scrolling Tab Example

Might get you started.

hth

Re: Align tabs on tab panels to the right

Posted: Tue Jul 26, 2011 5:57 am
by steve10
Thanks Klaus for sending me down the right path and thanks Barry for pointing me to the path's end. There's also a Custom Tab Button example.

Steve