B4J Question Panel height [Charts Framework with internal designer]

rtek1000

Active Member
Licensed User
Longtime User
I am converting the example of graphics done in tabpanel, but I am not finding the automatic height of free space

Example:
https://www.b4x.com/android/forum/threads/charts-framework.34710/#content

The example works with FXML layout and I'm trying to use the current BJL layout

The new code works, but the size of the height is passing a little of the visible area

If I subtract a small value from the height, the size is within the visible area:
B4X:
Pane1.SetSize(TabPane1.Width, TabPane1.Height - 50)

I tried to use the value of "PrefHeight", but the value is the same as "Height"

How can I know the height value without counting the tabs part?

chart_tab_height.png
 

Attachments

  • B4J_Chat2.zip
    10.1 KB · Views: 280
Top