Erel B4X founder Staff member Licensed User Longtime User Jul 3, 2023 #2 The width of the activity is different on different devices and orientations. Upvote 0
B Brian Dean Well-Known Member Licensed User Longtime User Jul 3, 2023 #3 Just checking that you know that you can refer to the Activity width (effectively the screen width) as 100%x. So if you want to set a panel's width to half the screen width you set pnl.width = 50%x and so on. Edit : This is probably only relevant if you are using a Designer Script, but I thought that might be the case here. Last edited: Jul 3, 2023 Upvote 0
Just checking that you know that you can refer to the Activity width (effectively the screen width) as 100%x. So if you want to set a panel's width to half the screen width you set pnl.width = 50%x and so on. Edit : This is probably only relevant if you are using a Designer Script, but I thought that might be the case here.