On 7/2/15, Ariset <irt...@gmail.com> wrote: > There is an empty layout element you can use IupFill() > > http://webserver2.tecgraf.puc-rio.br/iup/en/elem/iupfill.html > > it does autoexpand to fill empty space around a widget. > > if you are not decorating your labels with colors you could use something > like this instead of a simple IupLabel to center vertically a widget: > > VBox > - Fill > - Label (without expand vertical) > - Fill > >
Thank you for the response. I managed to get it centered using the technique you described for simple cases. Unfortunately, I seem to have some convoluted cases where I was nesting multiple layers of vboxes and hboxes (and incidentally, already using IupFill in similar ways) to keep some components centered in the window for window resizing, and when I try this trick, it seems to cause weird problems where my horizontal fields seem to grow to a large percentage of the window and the label dips way down while other fields remain. (Basically, its really broken.) I'm not sure if it is the nesting or the use of IupNormalizer or the combination or something else. (I've already created quite a mess trying to force all these different layout details...probably too advanced for just starting out.) Thanks, Eric ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users