COOL! This is awesome! trying to figure out how to put in a second row now. i don't recognize anywhere a value that seems to set the y location inside a window.
not being a coder of any sort, i thought i'd try duplicating the 'local toolbar_buttons =' section as 'local toolbar_buttons2 =' and then duplicating the 'for' loop at a new 'y' position and having it call 'toolbar_buttons2' instead of 'toolbar_buttons'. couldn't see how to set the second row's position, though.
edit:
found the y position. it's in the 'for' loop at 'button_width, 0'. changing the 0 changes the y position. got a crash when i tried to run two 'for' loops, though, to get a second row.
thanks for all this! it's really awesome,
babag
Last edited by babag; 10-22-2019 at 11:02 AM.
|