ICViewPager
ICViewPager copied to clipboard
Dynamic Tab widths
This is more like a feature request. It would be great if there was an option to have dynamic tab widths, based on the width of the view (textlabel) inside it. That way you could use a calculated width of the label (including font/fontsize) and use this for the width tab itself, varying for each tab.
As I understand it, right now the only way to set the witdh is using ViewPagerOptionTabWidth, but this is fixed for all tabs, right?
Yep, it's fixed for all tabs, but since the beginning I planned dynamic tab widths as a future feature. I'll consider your suggestion, and will implement it as soon as possible. Thank you!
+1
+1 if this feature is not coming yet, i'll try to implement it by myself soon.
+1
use this :)
https://github.com/nmbakfm/ICViewPager