ilan Expert Licensed User Longtime User Dec 9, 2014 #1 hi on my latest app "Safe Area" i am using 3 pickers like a lock to unlock the main screen everything works great but if i am using my app on my ipad the picker position wont change like other views position and like this it wont be in the right location i need it to be what can i do to ensure that the picker will be at the same location on the screen like it is on my iphone4 i am using this method to resize all views to the different screen size: https://www.b4x.com/android/forum/threads/resize-all-views-to-any-screen-size.46600/
hi on my latest app "Safe Area" i am using 3 pickers like a lock to unlock the main screen everything works great but if i am using my app on my ipad the picker position wont change like other views position and like this it wont be in the right location i need it to be what can i do to ensure that the picker will be at the same location on the screen like it is on my iphone4 i am using this method to resize all views to the different screen size: https://www.b4x.com/android/forum/threads/resize-all-views-to-any-screen-size.46600/
Erel B4X founder Staff member Licensed User Longtime User Dec 9, 2014 #2 Why don't you use anchors / designer script to resize your layout? The problem with picker is that its actual size is constant. Even if you change its size it will look the same. Upvote 0
Why don't you use anchors / designer script to resize your layout? The problem with picker is that its actual size is constant. Even if you change its size it will look the same.
ilan Expert Licensed User Longtime User Dec 9, 2014 #3 Erel said: Why don't you use anchors / designer script to resize your layout? The problem with picker is that its actual size is constant. Even if you change its size it will look the same. Click to expand... will it work with the designer script?? Upvote 0
Erel said: Why don't you use anchors / designer script to resize your layout? The problem with picker is that its actual size is constant. Even if you change its size it will look the same. Click to expand... will it work with the designer script??
ilan Expert Licensed User Longtime User Dec 9, 2014 #4 what i can do is i will calculate the y% of the picker.top in my iphone and put the same y% for any other device, i think it will work like this... Upvote 0
what i can do is i will calculate the y% of the picker.top in my iphone and put the same y% for any other device, i think it will work like this...
klaus Expert Licensed User Longtime User Dec 9, 2014 #5 You might set HorizontalCenter and VerticalCenter in the Designer Scripts Upvote 0
ilan Expert Licensed User Longtime User Dec 9, 2014 #6 klaus said: You might set HorizontalCenter and VerticalCenter in the Designer Scripts Click to expand... thanx i will try that out, i was yesterday very tired and my brain doesnot work very well after 03:00am, so i didnot think about the designer script... Upvote 0
klaus said: You might set HorizontalCenter and VerticalCenter in the Designer Scripts Click to expand... thanx i will try that out, i was yesterday very tired and my brain doesnot work very well after 03:00am, so i didnot think about the designer script...