Blueforcer Well-Known Member Licensed User Longtime User Feb 20, 2022 #1 The b4xswitch (added via layout) is always on top=0 of its panel. How can i centered it vertically and horizontally?
The b4xswitch (added via layout) is always on top=0 of its panel. How can i centered it vertically and horizontally?
toby Well-Known Member Licensed User Longtime User Feb 20, 2022 #2 Try following designer script B4X: B4XSwitch1.HorizontalCenter=50%x B4XSwitch1.VerticalCenter=50%y Last edited: Feb 21, 2022 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Feb 21, 2022 #3 Make sure to set the B4XSwitch size to 55x31. It has a fixed size. Upvote 0