Re: [Iup-users] Using the iup.scrollbox

2020-03-11 Thread Antonio Scuri
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

Re: [Iup-users] Using the iup.scrollbox

2020-03-11 Thread Jane Taubman
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 <

Re: [Iup-users] Using the iup.scrollbox

2020-03-11 Thread Pete Lomax via Iup-users
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. On Tuesday, 10

Re: [Iup-users] Using the iup.scrollbox

2020-03-10 Thread Jane Taubman
Thanks for your help What I was hoping to get to was to dock the message and buttons to the base using the space for the fieldlist, but I can't seem to work out how. On Tue, 10 Mar 2020, 19:42 Antonio Scuri, wrote: > ok Got it. I attached the full example so we can move on from there. > >

Re: [Iup-users] Using the iup.scrollbox

2020-03-10 Thread Antonio Scuri
ok Got it. I attached the full example so we can move on from there. Here is the result: [image: image.png] I'm still trying to figure out the initial size, but when I resize the dialog, its children are resized accordingly. What's not expected for you? Best, Scuri Em ter., 10 de mar.

Re: [Iup-users] Using the iup.scrollbox

2020-03-10 Thread Jane Taubman
I used iup.Popup(iup.LayoutDialog(dlg)) to dump out the dialog source at the end of the build As follows -- Generated by IupLayoutDialog export to Lua. function create_dialog_dialogDump() iup.dialog{ iup.vbox{ iup.hbox{ iup.label{ title = "Enter name and other

Re: [Iup-users] Using the iup.scrollbox

2020-03-10 Thread Antonio Scuri
That depends on what's inside the fieldlist. If you provide a complete sample code I can test it here. Best, Scuri Em seg., 9 de mar. de 2020 às 16:02, Jane Taubman escreveu: > I have the following > > dlg = >

[Iup-users] Using the iup.scrollbox

2020-03-09 Thread Jane Taubman
I have the following dlg = iup.dialog{title=sTitle,iup.vbox{iup.hbox{iup.label{title=sTopMessage},margin='4x2'}, iup.frame{iup.scrollbox{fieldlist,scrollbar="VERTICAL",expand="YES"}},lButtons,iup.scrollbox{iup.frame{warning,margin='10x2'},maxsize="x100"}, margin='10x2'},