Hi ^^ thanks for your answers ^^
I tryed with GetDimension() and GetHeight() but nothing, the return give me a '0' value.
I will try today what Nogaruk said...
The problem is i have no examples...
Nogaruk can you give me an short example please, for placing automaticaly several child one above the other ? (I have only one parent, it's the background...) ?
Otherwise, i use SetResizeToFitDescendents() without argument and it auto resize width and height from is content -> set on my background (the background is the parent of all content)
I am looking for a way to use a constraint on the width value, to permit players to specify width in the menu settings ... but i don't know if it's possible to keep the 2 possibilities .. i need to do some tries ^^
Last edited by Blackstorm : 04/14/14 at 02:57 AM.
|