B4J Question [Abmaterial] How tall is it !?

jinyistudio

Well-Known Member
Licensed User
Longtime User
Hi
As following, How cloud i get the height !? :(

d97521c2000fbb7082dcbdb8e3ebc78a.png
 

jinyistudio

Well-Known Member
Licensed User
Longtime User
the height of ABM.GetBrowserWidthHeight is browser height not its inside display area.
 
Upvote 0

stanmiller

Active Member
Licensed User
Longtime User
the height of ABM.GetBrowserWidthHeight is browser height not its inside display area.

This post below about ABMaterial sections may be related. It appears AB uses calc() to calculate the height of the inside viewport.

calc(100vh - 56px)

[ABMaterial] new section and page nav feature (3.02)
https://www.b4x.com/android/forum/t...tion-and-page-nav-feature-3-02.77982/#content

CSS Relative units
https://www.w3schools.com/cssref/css_units.asp

1_viewport_vh_zpsegvgfnj8.jpg


CSS calc() Function
https://www.w3schools.com/cssref/func_calc.asp
 
Upvote 0
Top