PDA

View Full Version : TabBar Item Spacing after adding items.



jordandobson
16 Sep 2010, 4:15 PM
Two questions.

I'm using a TabBar with one item until authenticated, then at that point I have three items in the TabBar.


Is it possible to have those three items span the entire width of the tabBar instead of being a fixed size? Is there documentation on this?
Also is there a proper way to to add items to the tabBar so that they go to the front of the index instead of at the end?

jordandobson
16 Sep 2010, 6:50 PM
Well I figured out the answer to #2. I just needed to upgrade to release .95.

Any thoughts on the Question #1?

evant
16 Sep 2010, 7:14 PM
tabBar: {
defaults: {
flex: 1
},
dock: 'bottom',
layout: {
pack: 'center'
}
}

jordandobson
20 Sep 2010, 12:14 PM
@evan

So then I would need to update the CSS to get the icons to center as well?

http://cl.ly/2TKp

This is what I am getting at this point. Is this expected behavior?

evant
20 Sep 2010, 3:37 PM
Yes, you'd need to update the css.