Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set width for each tab #20

Open
pakoArtal opened this issue Jun 8, 2015 · 3 comments
Open

set width for each tab #20

pakoArtal opened this issue Jun 8, 2015 · 3 comments

Comments

@pakoArtal
Copy link

Hi Manuel,
It would be great if we could set the width for each tab. This would be very useful if we had labels with very different widths as in Google Play

@manumaticx
Copy link
Owner

I know what you mean. This would be awesome indeed. And it should be possible. I only need more spare time ;)

@pakoArtal
Copy link
Author

In init function from tabs.js I tried

$.tabWidth = Ti.UI.SIZE;

Tabs look better but I have no idea yet how to change the indicator width and location

@manumaticx
Copy link
Owner

The indicator is not intented to change its width. Right now, the widget assumes every tab has the same width. So we would need a dynamic width that applies while scrolling. The tab positions changes too what makes it a little tricky. But it's simple mathematics. I'll have a look asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants