dewango/BottomNavigationBarXF

Tab Color only works with 4+ tabs.

Opened this issue · 6 comments

Less than 4 tabs the function to set color does not work.

any solution ?

Im-PJ commented

Any solution for this? I don't this library is being maintained now :(

Any news?

no news :(

Sme90 commented

To change it, you'll have to change the variable in the BottomNavigationBar's BottomBar.cs file. The variable in question is private int _maxFixedTabCount = 3;, you'll need to change it to 2, 1, or 0. Then recompile, add the DLL to BottomNavigationBarXF, and then recompile this one, and add the DLLs to your Forms project.

@Sme90 variant with DLL is good, but u can also create local nuget package: just type nuget pack in the root folder and use it. How to install local nuget package