When trying to specify the location of a StaticText control in Waxe, I am trying to figure out what this “Position” class is… https://github.com/akadjoker/waxe/blob/master/lib/waxe/1%2C0%2C2/wx/StaticText.hx#L9-L11
Naturally, I thought maybe an anonymous function may be the right call, like so:
_text = StaticText.create(_mainFrame, 3, "Hello.", {x: 30, y: 30});
But that results in the x position still being 0, and y also 0:
I also checked the waxe source code and could not find a class called “Position”, so was this placed in error? Was it supposed to be “Point” instead, because that does exist. I might try it just as a test.