VL Web - adding a responsive menu bar

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
faridah.belandres
Posts: 11
Joined: Wed Jul 13, 2016 1:57 pm

VL Web - adding a responsive menu bar

Post by faridah.belandres »

Hi Guys,

Good day!

I am quite new to VL Web and would like to ask if there is a way/setting to make the Menu Bar component responsive?
I have a number [around 8] of main items in the menu and some of them have submenus.
However, when I use the menu bar to display them, I am not sure of what approach to use so that all of them are still visible/accessible even if I resize the screen/window to a small one.

There is a demo component [xDemoWebResponsiveDesignNavigation] included in the IDE which has a menu that is responsive.
I believe this uses labels instead of the menu bar but the items do not have sub-menus/sub-items.

Thank you in advance,
Faridah
User avatar
Stewart Marshall
Posts: 417
Joined: Thu Nov 05, 2015 5:25 pm

Re: VL Web - adding a responsive menu bar

Post by Stewart Marshall »

This will be available in SP1.

The CollapseStyle property has been added to menubar, with values of All/Hidden

All - All items will be shown in a drop menu
Hidden - Only the items that do not fit will be shown in a drop menu

This will deal with submenus as well.


Regards
Stewart Marshall

Independent IT Consultant
www.marshallfloyd.com.au
faridah.belandres
Posts: 11
Joined: Wed Jul 13, 2016 1:57 pm

Re: VL Web - adding a responsive menu bar

Post by faridah.belandres »

Thanks Stewart!
Post Reply