Yes, it is.

Best,
Scuri
Em 01/07/2015 14:05, "Milind Gupta" <milind.gu...@gmail.com> escreveu:

> Resizing in IM and then replacing it in the button is possible?
>
> Millind
>
> On Wed, Jul 1, 2015 at 8:19 AM, Antonio Scuri <antonio.sc...@gmail.com>
> wrote:
>
>> No, it is not. The imagens in IUP will not scale.
>>
>> Best,
>> Scuri
>> Em 30/06/2015 23:16, "Eric Wing" <ewmail...@gmail.com> escreveu:
>>
>>> 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
>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> 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
>>
>>
>
>
> ------------------------------------------------------------------------------
> 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
>
>
------------------------------------------------------------------------------
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

Reply via email to