Hello,
can anybody tell me how to set the size of the MobileNavBar?
Greeds from Germany
@(
Html.InfragisticsMobile()
.NavBar()
.ID(
"nvbr1")
.Items(bar =>
{
bar.NavBarItem().Text(Resources.
MobileNavBar.MobileNavBar_Home).Icon("Home").Theme("a");
MobileNavBar.MobileNavBar_Products).Icon("Home").Theme("a");
MobileNavBar.MobileNavBar_AboutUs).Icon("Home").Theme("a");
})
.IconPosition(
"top")
.Render()
)
Hello Mani_Infeneon,
Thank you for contacting Infragistics!
Currently, there is no explicit way to change the size of the MobileNavBar as a size property is not exposed. On the other hand, the size may be changed via the HTMLAttributes property.
For more information, you may refer to the following documentation:
http://es.infragistics.com/help/topic/b9acb0dd-f227-400b-aa2e-d001e2603a39
I hope this helps.
If you have any questions, please let me know as well.
Hi,
first of all that works. Thanks
now another Problem.
why do I have double Icons? I use the code from your Sample
@( Html.InfragisticsMobile() .NavBar() .ID("nvbr1") .Items(bar => { bar.NavBarItem().Text(Resources.MobileNavBar.MobileNavBar_Home).Icon(DefaultIcons.Home).Theme("a"); bar.NavBarItem().Text(Resources.MobileNavBar.MobileNavBar_Products).Icon(DefaultIcons.Grid).Theme("a"); bar.NavBarItem().Text(Resources.MobileNavBar.MobileNavBar_AboutUs).Icon(DefaultIcons.Star).Theme("a");
}) .IconPosition("top") .Render() )
and I got a navbar with each Icon doubled.