GocePetrovski / ScrollableSegmentedControl

Scrollable Segmented Control for when UISegmentedControl is not sufficient
MIT License
245 stars 74 forks source link

Can it implement custom width segments instead of fixed widths? #16

Closed amberkatyal closed 5 years ago

amberkatyal commented 6 years ago

I have seen segment controls in apps having custom widths and underline bars animate according to their size. Where custom widths are determined by the contents in them. Here the height is fixed for the maximum width segment item or else the font size is reduced to fit in. Hoping this could be implemented or have done already.

abingeorgev commented 6 years ago

@GocePetrovski https://github.com/GocePetrovski/ScrollableSegmentedControl/pull/17 will fix this.

GocePetrovski commented 6 years ago

This is coming soon. I'm having small issues with auto layout constraints when dynamically changing segmentStyle or fixedSegmentWidth properties.

GocePetrovski commented 5 years ago

Done. See v1.4