script designer problem

mrossen

Active Member
Licensed User
Longtime User
Hi,

After I tried to update my layout with the new script designer my layout will not show correct?

It loads the main layout and show the back ground but the other view will not show

Mogens
 
Last edited:

mrossen

Active Member
Licensed User
Longtime User
It seems to be the ScrollView panel there is the problem

If I remove the ScrollView and loads my main layout to the panel the layout show correct. If I use Scrollview it does not.

I have tried to use another layout file there is not created with the new B4A v.1.86 version. Then the code works with scrollview.

This does not work

B4X:
        PanelMain = ScrollViewMain.Panel 
   
   Activity.AddView(ScrollViewMain, 0, 0, 100%x, 100%y - 50dip)
   Activity.AddView(PanelChangePassword, 0, 0, 100%x, 100%y - 50dip)
   
   PanelMain.Height = 430dip
   PanelMain.LoadLayout("main")

This works

B4X:
          Activity.AddView(PanelMain, 0, 0, 100%x, 100%y - 50dip)
   Activity.AddView(PanelChangePassword, 0, 0, 100%x, 100%y - 50dip)
   
   PanelMain.Height = 430dip
   PanelMain.LoadLayout("main")

Mogens
 
Upvote 0
Top