B4J Question ABM.SIDEBAR_MANUAL_ALWAYSHIDE - strange effect on the page

Mr_fifty4

Member
Licensed User
Hi,

if i use ABM.SIDEBAR_MANUAL_ALWAYSHIDE property instead of ABM.SIDEBAR_MANUAL_HIDEMEDIUMSMALL when open the page and click over the hamburger i get this effect:



immagine_2022-04-05_142612536.png



it seems that the grid of controls starts after the end of the menu. The example is take from ABM "demo" project with the only changes:

B4X:
    ' behaviour as the old declaration   
    'page.NavigationBar.Initialize(page, "nav1", ABM.SIDEBAR_MANUAL_HIDEMEDIUMSMALL, Title, True, True, 330, 48, sbtopimg, ABM.COLLAPSE_ACCORDION, "nav1theme")   
    page.NavigationBar.Initialize(page, "nav1", ABM.SIDEBAR_MANUAL_ALWAYSHIDE, Title, True, True, 330, 48, sbtopimg, ABM.COLLAPSE_ACCORDION, "nav1theme")


Are any other settings required to get the correct result?

thanks

ABM version 4.95 (but the same happens with 4.30)
 
Solution
[SOLVED]
the effect was caused by use of:

B4X:
page.NavigationBar.UseAlternativeScrollBar

unfortunately all the properties and possibilities of this great framework are not so easy to learn.

Mr_fifty4

Member
Licensed User
[SOLVED]
the effect was caused by use of:

B4X:
page.NavigationBar.UseAlternativeScrollBar

unfortunately all the properties and possibilities of this great framework are not so easy to learn.
 
Upvote 0
Solution
Top