Hi there, I think i have seen it - but i cannot find it anywhere…
I am creating an app which includes 25 Buttons - Arranged in rows and columns 5x5 Grid
Now my questions are three
- Can i automate the creation of the buttons in any way And place it according to 5x5 Grid
2.If/When i try this manually - i have difficulties in getting the buttons Square. ( I can do it for one device - but then it fails in another - with different screen size.
Apprectate any answers
Hi, to begin with, I suggest that you get acquainted with the “Any Components” blocks from the help, with which you can do this https://docs.thunkable.com/any-component-blocks
Play around and analyse this in ‘Live’. Preview is not great for this.
I am using a single row which wraps. I set the width and height of the element before cloning. If you don’t need dynamic scaling like I have shown here then the blocks are very simple.
I have found that the ‘relative %’ gives errors across devices and applications. Instead I have used the ‘get screen width’ and divided this precise unit by the number of elements I want in my row before wrapping.
I have used a column donor as my element but you can use any element you like (in your case; a donor button)
I hope this gives you some insight as to what actech is recommending.