NAXAM/bottomtabbedpage-xamarin-forms

Item have got enough place to be displaying in full size

Phenek opened this issue · 0 comments

Hello,

Sorry to bothering you:
I think there is an issue on the SizeUtils.cs

I got this:
screenshot 2018-10-25 at 14 14 28

My Setup

 void SetupBottomTabs()
        {
            BottomTabbedRenderer.FontSize = 10;
            BottomTabbedRenderer.IconSize = 20;
            BottomTabbedRenderer.ItemSpacing = 0;
            BottomTabbedRenderer.BottomBarHeight = 56;
            BottomTabbedRenderer.ItemAlign = ItemAlignFlags.Center;
            BottomTabbedRenderer.MenuItemIconSetter = (menuItem, iconSource, selected) =>
            {
                var iconized = Iconize.FindIconForKey(iconSource.File);
                if (iconized == null)
                {
                    BottomTabbedRenderer.DefaultMenuItemIconSetter.Invoke(menuItem, iconSource, selected);
                    return;
                }
                var drawable = new IconDrawable(this, iconized).Color(Color.White).SizeDp(20);
                menuItem.SetIcon(drawable);
            };
        }

Or have you got an idea on what I'm doing wrong?

Regards,