Hi, That's what I was going to suggest you.
Dynamic layout has these complex details when several containers are involved. It took me some time to notice what was going on. The IupScrollbox container has a slightly different behavior when expanding, to be able to be larger than its children. But just to replace the second IupScrollbox by a IupVbox for instance, it is not enough. Because the label is expanding in all directions with EXPAND=YES. So the 2 containers that have expandable children will fill the top Vbox equally. By changing the EXPAND attribute of the label to HORIZONTAL, this is changed and you have the behavior closer to what was expected. Best, Scuri Em qua., 11 de mar. de 2020 às 13:28, Jane Taubman <janetaub...@gmail.com> escreveu: > Thanks, in the end I just removed the second Scroll box as when that is > not included the window behaves as I wanted leaving the bottom of the > screen a fixed size and the top growing and shrinking with the window size. > > > > On Wed, 11 Mar 2020 at 14:11, Pete Lomax via Iup-users < > iup-users@lists.sourceforge.net> wrote: > >> Not an expert, but I clocked this bit in the middle with some suspicion: >> scrollbar = "VERTICAL", >> xmax = "0", >> dy = "334", >> ymax = "583", >> I wondered about expand = "VERTICAL" and/or getting rid of that ymax >> setting. Have not tried either here, my apologies if neither helps. >> > -- > Jane. > > Jane Taubman | www.rjt.org.uk | www.taubman.org.uk | www.fhug.org.uk > _______________________________________________ > Iup-users mailing list > Iup-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users >
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users