B4J Question [SOLVED][ABMaterial] different behaviour with Edge

Cableguy

Expert
Licensed User
Longtime User
Hi gurus...

First, my code...

B4X:
    'Set Top Row Props
    page.Row(1).SetFixedHeight(60,False)
    page.Row(1).UseTheme("TopBanner")
   
    'Add the site logo
    Dim TopBannerLabel1 As ABMLabel
    TopBannerLabel1.Initialize(page, "TopBannerLabel1","{B} {C:#5ADC00}PortugalAqui{/C}{C:#DCDC3C}Ao{/C}{C:#FF3C3C}Lado{/C}{C:#007F7F}.com{/C}{/B}",ABM.SIZE_H5, True, "TopBanner")
    page.Cell(1,1).AddComponent(TopBannerLabel1)
   
    'Add the country flag
    Dim TopBannerFlag As ABMImage
    TopBannerFlag.Initialize(page,"TopBannerFlag1","../images/"&BrowserBaseLanguage&".png",1)
    TopBannerFlag.SetFixedSize(30,30)
    TopBannerFlag.IsCircular = True
    TopBannerFlag.IsClickable = False
    page.Cell(1,2).AddComponent(TopBannerFlag)
    page.Cell(1,2).UseTheme("AlignCenter")
   
    Dim TopBannerButton1 As ABMButton
    TopBannerButton1.InitializeRaised(page, "TopBannerButton1","","","Registar","TopBanner")
    page.Cell(1,3).AddComponent(TopBannerButton1)
    page.Cell(1,3).UseTheme("TopBanner")
    page.Cell(1,3).UseTheme("AlignRight")

In edge....
Untitled.png


in Chrome...
Untitled1.png


As you can see, in chrome, the page.Row(1).SetFixedHeight(60,False) works as expected, but not in edge, why???
 

Cableguy

Expert
Licensed User
Longtime User
Solved, I moved the setfixedheight line and placed just after build grid!
 
Upvote 0
Top