Skip to content

Wrong separator width in TMConstrainedHorizontalBarLayout (#563)#564

Merged
msaps merged 1 commit intouias:mainfrom
stefanomondino:main
Mar 30, 2021
Merged

Wrong separator width in TMConstrainedHorizontalBarLayout (#563)#564
msaps merged 1 commit intouias:mainfrom
stefanomondino:main

Conversation

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