uias / Tabman

™️ A powerful paging view controller with interactive indicator bars
https://uias.github.io/Tabman
MIT License
2.84k stars 235 forks source link

Wrong separator width in TMConstrainedHorizontalBarLayout (#563) #564

Closed stefanomondino closed 3 years ago

stefanomondino commented 3 years ago

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