Android Question Views inside TabHost ... and width


Licensed User
Longtime User
Update : not having such problem on an newer device/android ....


My explanations hereunder will be (really) more clear while running the zip ...

In this dummy project, I have :
1 TabHost with 2 tabs.

The 1st tab contains a ScrollView

In this ScrollView, I add within a loop a Panel loaded from a .bal file.

The problem :

How to set the Panel.width to fit entirely the ScrollView (in fact, the ScrollView.Panel), while not be to wide ?

What I have found/seen/understood :
Tho be fully seen, the Panel has to be 'a little bit' less wide as its parent.
The question is how much is 'a little bit' ?

...or maybe I missed something


    9.4 KB · Views: 152
Last edited: