PDA

View Full Version : cWebMenuButton and Material Theme



Peter Bragg
18-Nov-2021, 09:10 AM
Not sure this looks as it should.

Run the WebOrder demo application and open the oDemoCustomMenus view. Click the "Menu" (hamburger) button. Looks fine with all themes, except for the Material Theme, where it just doesn't look like I'm sure it's meant to (the top of it).

It's more apparent if you increase the width of the floating menu:



Object oWebMenuButton1 is a cWebMenuButton
Set piColumnSpan to 2
Set psCaption to "Menu"
Set psCSSClass to "WebIcon_Hamburger"
Set psMenuCSSClass to "WebMenuButton_Arrow"
Set piMenuWidth to 200
Set pbMenuShowCaption to False
Set piColumnIndex to 4

Samuel Pizarro
18-Nov-2021, 10:33 AM
I can't find this view "oDemoCustomMenus". The closest I get is "oDemoListButtonMenu" view. Is that one ?

Peter Bragg
18-Nov-2021, 10:53 AM
The file is DemoCustomMenu.wo. In the running application it's "Custom Menus" off the Demo menu. I should have also have said, that I've looked at this in Chrome (in case that's relevant).

WebOrder. DF 20.1

Harm Wibier
19-Nov-2021, 03:17 AM
I can't find this view "oDemoCustomMenus". The closest I get is "oDemoListButtonMenu" view. Is that one ?
Are you running 20.1 Beta 1? This sample was changed and renamed to also showcase the new context menu.

Harm Wibier
19-Nov-2021, 03:53 AM
I see what you mean Peter. That doesn't look great.. Is not new in 20.1, but we'll see if we can fix it..

Samuel Pizarro
19-Nov-2021, 06:10 AM
Yes. That explains it. I still did not update to b2

thanks Harm

Stephen W. Meeley
1-Dec-2021, 03:54 PM
Peter,

This should be fixed in Beta 2.