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

tab bar trailing alignment does not work fine #500

Open
walaa118 opened this issue Mar 23, 2020 · 1 comment
Open

tab bar trailing alignment does not work fine #500

walaa118 opened this issue Mar 23, 2020 · 1 comment
Labels

Comments

@walaa118
Copy link

let bar = TMBar.ButtonBar()

bar.layout.transitionStyle = .snap // Customize
bar.backgroundColor = darkish_purple
bar.backgroundView.style = .clear
bar.layout.contentInset = UIEdgeInsets(top: 00.0, left: 20.0, bottom: 00.0, right: 20.0)

    bar.layout.alignment = .trailing

    // Add to view
    addBar(bar, dataSource: self, at: .top)

    
    bar.indicator.tintColor = orange
    
    bar.buttons.customize { (button) in
        button.tintColor = white
        button.selectedTintColor = orange
    }

any solution for RTL ?

@msaps msaps added the bug label Apr 25, 2020
@Alif-IOTA
Copy link

Same problem for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants