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://ko.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.
Hello Mani_Infineon,
Thank you for the update and code snippet.
At the moment, using the code you have provided, we are not successful in reproducing the behavior you are seeing. We may need more information. Please attach a copy of the full markup or cshtml file together with your reply.
Attached is the screen shot of our results.
If you have any questions, please let us know as well.
Looking forward to your response.
Hello Vivian,
Thank you for your support. I was able to fix the problem myself. The mistake was, that I had not well integrated the IOS - style.
Best regards
Manfred
Hello Manfred,
Thank you for the update.
We are glad that you are able to move forward with your application.
If you have any questions, please do not hesitate to let us know.