xmartlabs/XLPagerTabStrip

selectedBar non selected state color?

Aperta

#409 aperta il 29 giu 2017

 (5 commenti) (2 reazioni) (0 assegnatari)Swift (1319 fork)batch import
help wanted

Metriche repository

Star
 (6965 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

I want to use one color for the selectedBar and have the other cells' selected bar space be colored differently. Basically this, but for selectedBar: newCell?.backgroundColor = .red oldCell?.backgroundColor = .black

Example in picture. As you can see, when a tab isn't selected, there is still a selectedBar color screen shot 2017-06-29 at 10 23 56 am

Guida contributor