Skip to content

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

Open
shannonchou wants to merge 5 commits intoxmartlabs:masterfrom
shannonchou:master
Open

Supporting for fixed width of ButtonBarView's selected bar.#676
shannonchou wants to merge 5 commits intoxmartlabs:masterfrom
shannonchou:master

Conversation

@shannonchou
Copy link
Copy Markdown

Adding an optional property on ButtonBarView and its setting styles.

public var selectedBarWidth: CGFloat?

@alexookah
Copy link
Copy Markdown

what if each cell has different width in buttonBarView ?

@shannonchou
Copy link
Copy Markdown
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
Copy Markdown

this customization is really required

@Lee0820
Copy link
Copy Markdown

Lee0820 commented Jan 8, 2020

We really need this demand
public var selectedBarWidth: CGFloat?

@remlostime
Copy link
Copy Markdown

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

@remlostime
Copy link
Copy Markdown

@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.

5 participants