Align tabs on tab panels to the right

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
steve10
Posts: 85
Joined: Fri May 13, 2011 9:38 am

Align tabs on tab panels to the right

Post 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?
The way it is
The way it is
now.png (1000 Bytes) Viewed 3869 times
The way I want it
The way I want it
want.png (1.46 KiB) Viewed 3869 times
Steve
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Align tabs on tab panels to the right

Post 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
Attachments
Mac_tabs.jpg
Mac_tabs.jpg (10.1 KiB) Viewed 3865 times
BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: Align tabs on tab panels to the right

Post by BarrySumpter »

Rolling your own:

LiveCode | User Samples | Scrolling Tab Example

Might get you started.

hth
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
steve10
Posts: 85
Joined: Fri May 13, 2011 9:38 am

Re: Align tabs on tab panels to the right

Post 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
Post Reply