GocePetrovski / ScrollableSegmentedControl

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

change underline width #27

Open syedrazackimran opened 6 years ago

syedrazackimran commented 6 years ago

hi,

I would like to change segment underline width example for 30px width for underline kindly do needfully. thanking you

screen shot 2018-09-19 at 3 11 16 pm
GocePetrovski commented 5 years ago

I really don't understand what you are trying to achieve. Are the pictures with discounts supposed to be the un feline? If so, there are better ways to achieve this.

syedrazackimran commented 5 years ago

I really don't understand what you are trying to achieve. Are the pictures with discounts supposed to be the un feline? If so, there are better ways to achieve this.

hello, Thanks for your reply!

I would like to change the segment underline width, on that image Cambodia, Thailand, China that are in the segment I need to change segment line width

GocePetrovski commented 5 years ago

Let me see if I get it now. You want the image to be like underline or you want the underline to be under/above the image? The screenshot you provided shows the underline above the image (below China). Anyway, this is not possible without major changes. You could use segmented control for the text only and add uistackview below it for the images. Make sure you anchor start/end to each other and they should distribute the with to each segment and image equally.