W wl Well-Known Member Licensed User Longtime User May 22, 2012 #1 Hello, I have a scrollview on a second activity ("filter"') The activity is loaded in the Main activity with: Code: Copy Sub Activity_Create(FirstTime As Boolean) StartActivity(filter) End Sub In the second activity I'm loading the "filter" layout that just contains a scrollview (svFilters) Code: Copy Sub Activity_Create(FirstTime As Boolean) Activity.LoadLayout("filter") svFilters.Top = 0 svFilters.Height = 100%y End Sub On my tablet the scrollview only occupies the top half of the screen. In the debugger the height seems to be set correctly though. Thanks !
Hello, I have a scrollview on a second activity ("filter"') The activity is loaded in the Main activity with: Code: Copy Sub Activity_Create(FirstTime As Boolean) StartActivity(filter) End Sub In the second activity I'm loading the "filter" layout that just contains a scrollview (svFilters) Code: Copy Sub Activity_Create(FirstTime As Boolean) Activity.LoadLayout("filter") svFilters.Top = 0 svFilters.Height = 100%y End Sub On my tablet the scrollview only occupies the top half of the screen. In the debugger the height seems to be set correctly though. Thanks !
W wl Well-Known Member Licensed User Longtime User May 22, 2012 #2 Once again: I just found out myself: it seems I forgot the inner height (this is the scrollview.Panel.Height) Upvote 0
Once again: I just found out myself: it seems I forgot the inner height (this is the scrollview.Panel.Height)