PDA

View Full Version : Align tab on the right side of the bar



gps-ulm
17 Sep 2012, 11:56 PM
Hello,

how can I align a tab in a tabpanel with tabPosition 'top' on the right side of the tabbar?

Thanks for your help.

Best regards,

Tobias Wagener

sword-it
18 Sep 2012, 1:37 AM
HI!

you may use following:-


.x-tab {
position:initial !important;
float:right;
}‚Äč



for more info, check this thread:-
http://www.sencha.com/forum/showthread.php?222939-Right-align-tabs-in-a-TabPanel

gps-ulm
18 Sep 2012, 1:47 AM
Thanks for your answer. But this will align all tabs on the right side. I only want to align some tabs on the right side.

I have a tab panel with important tabs that should be aligned on the left side and some tabs with not so important data that should aligned on the right side.

Is there a way to do this?

sword-it
18 Sep 2012, 1:51 AM
if you want to align some tabs , you can try this

http://www.sencha.com/forum/showthread.php?66127-TabPanel-Right-align-some-tabs

gps-ulm
2 Oct 2012, 6:40 AM
The above link will only work for 2.x/3.x, not for 4.x.
Can someone help me, to bring this to work with 4.1.x?
Thanks!