2
In Iuplua, how do I position a component indicating the X(horizontal position) and Y(vertical position)? I read in the documentation:
It will be changed During the layout computation, except when FLOATING=YES or when used Inside a Concrete container layout.
So I tried:
require "iuplua"
button = iup.button{title="button", floating="yes", position = "50,0"}
dlg = iup.dialog{title="test", size="QUARTERxQUARTER", button}
dlg:show()
iup.MainLoop()
But it doesn’t change anything.
What would be "x w y"?
– Maniero
I corrected the question.
– Gabriel Sales
From what is written in the documentation you presented is not to do anything. Do you know English? Translating "It will be changed during layout computing, except for when FLOATING=YES or when used inside a concrete layout container.". see: http://webserver2.tecgraf.puc-rio.br/iup/en/attrib/iup_floating.html The problem is not precisely that you have used this attribute?
– Maniero
I’ve tried, with floating="no", and without adding the attribute, and it still doesn’t work.
– Gabriel Sales