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

Supporting for fixed width of ButtonBarView's selected bar. #676

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

shannonchou
Copy link

Adding an optional property on ButtonBarView and its setting styles.

public var selectedBarWidth: CGFloat?

@alexookah
Copy link

what if each cell has different width in buttonBarView ?

@shannonchou
Copy link
Author

what if each cell has different width in buttonBarView ?

Sometimes UI designers want a fixed width even the buttonBarViews have different widths.
Example:
1271557373754_ pic
1281557373755_ pic

selectedBarWidth is an optional property, if nil it will act as before, different buttonBarView width has different selectedBarWidth

@Tanvir-Singh
Copy link

this customization is really required

@Lee0820
Copy link

Lee0820 commented Jan 8, 2020

We really need this demand
public var selectedBarWidth: CGFloat?

@remlostime
Copy link

@mtnbarreto Could you take a look at this? We really need this.

@remlostime
Copy link

@santiagofm PTAL

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

Successfully merging this pull request may close these issues.

None yet

5 participants