Isac Active Member Licensed User Longtime User Jan 3, 2015 #1 With the designer can know the position to be included in setLayout? es: B4X: Spinner1.SetLayout(40%y,50%x,80%y,50%x) Is there a quick way to find the percentages Last edited: Jan 3, 2015
With the designer can know the position to be included in setLayout? es: B4X: Spinner1.SetLayout(40%y,50%x,80%y,50%x) Is there a quick way to find the percentages
Erel B4X founder Staff member Licensed User Longtime User Jan 4, 2015 #2 Add a panel with the designer in the place that you like and then add the runtime view to this panel. In most cases it is better not to use percentages for the view position and size. Upvote 0
Add a panel with the designer in the place that you like and then add the runtime view to this panel. In most cases it is better not to use percentages for the view position and size.
Isac Active Member Licensed User Longtime User Jan 4, 2015 #3 What is preferable to use in place of the percentages? you can give me an example? Upvote 0
lemonisdead Well-Known Member Licensed User Longtime User Jan 4, 2015 #4 Isac said: What is preferable to use in place of the percentages? Click to expand... I guess, Erel advises you to use dip instead of percentage you can give me an example? Click to expand... I wonder if there aren't some in Klaus excellent Beginners guide Upvote 0
Isac said: What is preferable to use in place of the percentages? Click to expand... I guess, Erel advises you to use dip instead of percentage you can give me an example? Click to expand... I wonder if there aren't some in Klaus excellent Beginners guide