Xuer Assuming that i have created a window element using ui.Window constructor, if i want to add any ui elements to the window such as button,entry etc how should i find the x,y coordinates to place the ui elements into the window?
Samir Hi Xuer, You can place widgets anywhere on a Window, by choosing the position with x and y coordinates. The top left corner of the Window is at 0,0 position :
Xuer Samir Thanks for the reply Samir, If i want to place a widget on an arbitrary location of my choosing on a window how should i calculate the x and y coordinates? i could try some random x,y coordinates until i find the location of my choosing but its very inconvenient and time consuming
Samir Yes I understand, that's why I'm working on a GUI Builder for LuaRT, that will permit to place, moveand resize widgets anyway you want.