header image

Layout, docking, autosizing

I’m working on some issues with docking and autosizing controls in GWEN.Net. It’s uncommon to have for example autosizing ListBox, typically you define its boundaries in advance in order to fit it into your layout. If there is large amount of rows or rows with long text, you can always add scroll bars and be done with it. However I need such an autosizing ListBox for my game client to display some information. Well, need is a strong word, but if something doesn’t work I better fix it instead of working around the bug. I also added debug outlines (render bounds, margins, padding):

Nested GroupBoxes with debug outlines

~ by omeg on March 3, 2012.

C#, code, GUI, gwen.net

Leave a Reply