2D Toolkit Forum
2D Toolkit => Support => Topic started by: Daiflys on April 08, 2014, 12:32:07 pm
-
Hello, i'm trying to get the documentation for tk2UILayoutContainer but here is nothing:
http://www.unikronsoftware.com/2dtoolkit/docs/latest/html/classtk2d_u_i_layout.html
What i want to do is create a tk2dUIScrollableArea, and in the LayoutContanier, resize some elements and refresh the container so the LayoutContainer relocates the items resized to not overlap between them, is that possible?
Thanks in advance!
-
Not tried it but I don't see why it won't work. Once you add your layouts to the layoutcontainersizer, resize the child layouts as you see fit - after that you will need to call layoutcontainersizer.DoChildLayout() to force layout the children, this is protected but you could make it public.