Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Automatic Parent Container Resize
Sat, Feb 13 2016 6:42 AMPermanent Link

Mark Brooks

Slikware

Avatar

Hi All

Continuing great project with EWB 2.X using plenty of responsive elements. I can't quite remember if Tim got anywhere with the ability to automatically resize a parent (say a form) based on its contents? I know he was talking about this. Can anybody bring me up to speed please?

Thanks
Mark
Sat, Feb 13 2016 8:03 AMPermanent Link

Matthew Jones

Mark Brooks wrote:

> Continuing great project with EWB 2.X using plenty of responsive
> elements. I can't quite remember if Tim got anywhere with the ability
> to automatically resize a parent (say a form) based on its contents?
> I know he was talking about this. Can anybody bring me up to speed
> please?

I can't remember either, but I think there is an event at the end of
the re-size that you can use to resize the parent in code. Fairly sure
I did that, but not able to check right now.

--

Matthew Jones
Mon, Feb 15 2016 1:01 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Mark,

<< Continuing great project with EWB 2.X using plenty of responsive elements. I can't quite remember if Tim got anywhere with the ability to automatically resize a parent (say a form) based on its contents? I know he was talking about this. Can anybody bring me up to speed please? >>

There are still some issues when you have more complex containers with outer and client elements and nested containers, so this functionality is still disabled.  However, if you look in the WebCtnrs unit (search for "Experimental !!!!"), you'll see that you can un-comment the AutoSize property for the TBasicPanel and it will allow you to do an auto-sized parent container.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Feb 16 2016 7:40 AMPermanent Link

Mark Brooks

Slikware

Avatar

Tim Young [Elevate Software] wrote:

>>There are still some issues when you have more complex containers with outer and client elements and nested >>containers, so this functionality is still disabled.  However, if you look in the WebCtnrs unit (search for "Experimental >>!!!!"), you'll see that you can un-comment the AutoSize property for the TBasicPanel and it will allow you to do an >>auto-sized parent container.

Understood Tim. I think I'll leave alone for now.
Image