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

Wrong separator width in TMConstrainedHorizontalBarLayout (#563) #564

Merged
merged 1 commit into from
Mar 30, 2021

Conversation

stefanomondino
Copy link
Contributor

@stefanomondino stefanomondino commented Mar 20, 2021

fixes #563

Attached screen can be obtained with:

// Create a bar
        let bar = TMBarView.TabBar()
        
        // Customize bar properties including layout and other styling.
        bar.layout.contentInset = UIEdgeInsets(top: 0.0, left: 16.0, bottom: 4.0, right: 16.0)
        bar.fadesContentEdges = true
        bar.spacing = 16.0
        bar.layout.separatorWidth = 10
        bar.layout.showSeparators = true

simulator_screenshot_EC77F4DC-D51D-4F9A-B9F4-85DC86963681

@stefanomondino stefanomondino changed the title fixes #563 - wrong separator width in TMConstrainedHorizontalBarLayout wrong separator width in TMConstrainedHorizontalBarLayout (#563) Mar 20, 2021
@stefanomondino stefanomondino changed the title wrong separator width in TMConstrainedHorizontalBarLayout (#563) Wrong separator width in TMConstrainedHorizontalBarLayout (#563) Mar 20, 2021
Copy link
Member

@msaps msaps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job 🚀 thanks!

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.

TabBar layout ignores vertical separators width
2 participants