uias / Tabman

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

can't change background color of tab when selected #575

Open sugitatestblue opened 3 years ago

sugitatestblue commented 3 years ago

New Issue Checklist

but not resolved https://github.com/uias/Tabman/issues/515

Issue Description

        barView.buttons.customize { (button) in
            button.backgroundView.style = .flat(color: .red)

but it is select/selected color

Other useful things

I want selectedBackgroundView and normal backgroundView

        barView.buttons.customize { (button) in
            button.backgroundView.style = .flat(color: .gray)
            button.selectedBackgroundView.style = .flat(color: .red)
sugitatestblue commented 3 years ago

How do I change the background when the button is selected and unselected? #522

sugitatestblue commented 2 years ago

fmm