[Gambas-user] WebExpander Height

Benoît Minisini g4mba5 at gmail.com
Wed Apr 29 04:40:30 CEST 2020


Le 28/04/2020 à 17:55, Mayost Sharon a écrit :
> ---------- Original Message -----------
> From: Benoît Minisini <g4mba5 at gmail.com>
> To: user at lists.gambas-basic.org
> Sent: Tue, 28 Apr 2020 17:16:26 +0200
> Subject: Re: [Gambas-user] WebExpander Height
> 
>> Le 28/04/2020 à 13:24, Mayost Sharon a écrit :
>>> Hello
>>>
>>> I'm trying to define in the Height property
>>> For example: 40em
>>> It doesn't change the height
>>> Is that supposed to be the case?
>>>
>>> Width property works well
>>>
>>> Thanks for the help
>>>
>>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>>>
>>
>> As usual, please provide the project.
>>
>> -- 
>> Benoît Minisini
>>
>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> ------- End of Original Message -------
> 
> Thank you
> 
> I attaching example that tries to understand what the difference between a container does is change the height.
> And the WebExpander does not let the height change.
> 
> Also in the example that is attached,
> 
> When you press the small arrow on the WebExpander, it should hide all the controls inside.
> But there is still a blue background.
> He seems to have set the blue color as well as the height of the parent container
> 
> Many thanks
> 

You must not set the height of the WebExpander, it prevents it from 
shrinking.

You must set the height of what is put inside the WebExpander. For 
example put one container with 20em height the WebExpander, and put what 
you want inside that container.

Regards,

-- 
Benoît Minisini


More information about the User mailing list