A AlexV New Member Licensed User Longtime User Mar 1, 2012 #1 Hello, I'd like to set up a simple 3x3 grid filled with icons. I understand I have to uses panels to do that but how do I make the grid to adjust to different screen sizes and resolutions? The idea is that the screen should always be filled. Thanks in advance if you can help me a bit. Alex
Hello, I'd like to set up a simple 3x3 grid filled with icons. I understand I have to uses panels to do that but how do I make the grid to adjust to different screen sizes and resolutions? The idea is that the screen should always be filled. Thanks in advance if you can help me a bit. Alex
joseluis Active Member Licensed User Longtime User Mar 1, 2012 #2 If you want the buttons to occupy all the surface, their size must be a percentage of the screen. The height must be 33%y and the width must be 33%x. And their position at 33%x*column,33%y*row. Where column and row goes from 0 to 2. Upvote 0
If you want the buttons to occupy all the surface, their size must be a percentage of the screen. The height must be 33%y and the width must be 33%x. And their position at 33%x*column,33%y*row. Where column and row goes from 0 to 2.
A AlexV New Member Licensed User Longtime User Mar 1, 2012 #3 Thanks for your reply... In the designer, I cannot set 33%x or 33%y ! Is this normal? Upvote 0
joseluis Active Member Licensed User Longtime User Mar 1, 2012 #4 I think you can only do that by code! I'm not sure because I never use the designer. Upvote 0
nfordbscndrd Well-Known Member Licensed User Longtime User Mar 1, 2012 #5 AlexV said: Thanks for your reply... In the designer, I cannot set 33%x or 33%y ! Is this normal? Click to expand... Wait for the next version of B4A: http://www.b4x.com/forum/basic4andr...nshots-upcoming-designer-scripts-feature.html Upvote 0
AlexV said: Thanks for your reply... In the designer, I cannot set 33%x or 33%y ! Is this normal? Click to expand... Wait for the next version of B4A: http://www.b4x.com/forum/basic4andr...nshots-upcoming-designer-scripts-feature.html