On 6/30/15, Antonio Scuri <sc...@tecgraf.puc-rio.br> wrote: > Complementing, if some controls inside the dialog does not have EXPAND > set, then they will be sized only to they natural size, and depending how > they are distributed in the zbox they will maintain a minimum size for the > whole layout even if all the visible elements have expand set. > > Best, > Scuri > > > > On Tue, Jun 30, 2015 at 10:11 PM, Antonio Scuri <sc...@tecgraf.puc-rio.br> > wrote: > >> Hi, >> >> Some comments about your code: >> >> - In a zbox all the elements inside it contribute to the layout natural >> size, even the hidden ones. >> >> - SHRINK is an attribute of the dialog. It is useless to set it on >> every element inside the dialog. But it will affect everyone inside the >> dialog. >> >> Shrink will be effective only for containers. For regular elements the >> current size will be set for a smaller value only if EXPAND is set. >> >> Best, >> Scuri >>
Thank you. I will remove all the SHRINKs except on the dialog. So I simplified down the example to remove the zbox. In fact, I ended up removing everything except the dialog and the first button. What I found was if I don't set the IMAGE property on the button, then the button will shrink. But when I set the IMAGE property, the button will not shrink below its initial size. Additionally, I just realized that when I grow the window, the button does expand to fill the window, but the actual image does not scale. Instead the whitespace area around the image increases to fill the underlying button. (I failed to notice this distinction earlier.) So, is it possible to grow/shrink the image with the button when I grow/shrink the dialog? 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