M Mostez Well-Known Member Licensed User Longtime User Nov 10, 2020 #1 I want to script center 'ProgressBar' on screen, the ProgressBar is on-top of a panel. I use scroll view to load the layout. the problem is, if I scroll the screen the ProgressBar position changes. I want to center it on screen regardless scrolling. I used this script but it did not work B4X: progsTripOrdersLayout.HorizontalCenter = 50%x progsTripOrdersLayout.VerticalCenter = 50%y
I want to script center 'ProgressBar' on screen, the ProgressBar is on-top of a panel. I use scroll view to load the layout. the problem is, if I scroll the screen the ProgressBar position changes. I want to center it on screen regardless scrolling. I used this script but it did not work B4X: progsTripOrdersLayout.HorizontalCenter = 50%x progsTripOrdersLayout.VerticalCenter = 50%y
Erel B4X founder Staff member Licensed User Longtime User Nov 10, 2020 #2 Move the ProgressBar out of the ScrollView. Upvote 0