Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 7 of 7 total
Thread Documentation - layouts
Thu, Mar 22 2012 9:39 PMPermanent Link

Robert Devine

Hi Tim

EWB is pretty easy to use so far - the main gap in my knowledge is a
good understanding of how it relates to layouts in the browser. E.g., I
was looking at detecting a resize of the browser window so that I can
manage the layout of some forms. I can see a Window resize event, but
haven't managed to get that to work.

If you have any early documentation on these aspects I'd be happy to
take a look. E.g., I assume that if I want to have a control fill the
client area of a parent then I need to use resize?

Cheers, Bob
Fri, Mar 23 2012 5:22 AMPermanent Link

Robert Devine

Hi Tim

Found ReSize surfaced in TDesktop, so working now. Will now start
investigating other layout options.

Cheers, Bob



On 23/03/2012 01:39, Bob Devine wrote:
> Hi Tim
>
> EWB is pretty easy to use so far - the main gap in my knowledge is a
> good understanding of how it relates to layouts in the browser. E.g., I
> was looking at detecting a resize of the browser window so that I can
> manage the layout of some forms. I can see a Window resize event, but
> haven't managed to get that to work.
>
> If you have any early documentation on these aspects I'd be happy to
> take a look. E.g., I assume that if I want to have a control fill the
> client area of a parent then I need to use resize?
>
> Cheers, Bob
Fri, Mar 23 2012 1:24 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Bob,

<< Found ReSize surfaced in TDesktop, so working now. Will now start
investigating other layout options. >>

Yes, there's already an OnResize event for the TDesktop.  However, if you
find any other areas that need an event, just let me know and I'll add it.

--
Tim Young
Elevate Software
www.elevatesoft.com

Mon, Mar 26 2012 8:00 PMPermanent Link

Robert Devine

Hi Tim

Back looking at the client alignment of controls - e.g. for some
functionality I need a form or a panel with a grid filling the client area.

1. Is it possible to get a resize event for a form or panel, so that I
can use it to set the dimensions of the grid when the form/panel is shown?

2. Assuming it's possible, is this the best approach for client
alignment of child controls?

While digging around the web I came across this -
http://dev.sencha.com/deploy/ext-4.0.0/examples/form/anchoring.html -
showing a resizable form - is this something we'll be getting soon(ish)?

Cheers, bob


On 23/03/2012 17:24, Tim Young [Elevate Software] wrote:
> Bob,
>
> << Found ReSize surfaced in TDesktop, so working now. Will now start
> investigating other layout options. >>
>
> Yes, there's already an OnResize event for the TDesktop. However, if you
> find any other areas that need an event, just let me know and I'll add it.
>
Tue, Mar 27 2012 12:55 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Bob,

<< While digging around the web I came across this -
http://dev.sencha.com/deploy/ext-4.0.0/examples/form/anchoring.html -
showing a resizable form - is this something we'll be getting soon(ish)? >>

Probably not right away, no.  There's some other controls on the list first,
and then I'll work on anchoring, docking.

--
Tim Young
Elevate Software
www.elevatesoft.com
Tue, Mar 27 2012 12:56 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Bob,

Forgot the top questions:

<< 1. Is it possible to get a resize event for a form or panel, so that I
can use it to set the dimensions of the grid when the form/panel is shown?
>>

Yes.

<< 2. Assuming it's possible, is this the best approach for client alignment
of child controls? >>

It's probably about the best you can do for now, yes.

--
Tim Young
Elevate Software
www.elevatesoft.com


Tue, Mar 27 2012 1:03 PMPermanent Link

Robert Devine

Ok, thanks. With the form/panel resize event I can get by for now - I'll
make my layout static and re-size the windows as the desktop resizes.

Cheers, Bob


On 27/03/2012 17:55, Tim Young [Elevate Software] wrote:
> Bob,
>
> << While digging around the web I came across this -
> http://dev.sencha.com/deploy/ext-4.0.0/examples/form/anchoring.html -
> showing a resizable form - is this something we'll be getting soon(ish)? >>
>
> Probably not right away, no. There's some other controls on the list
> first, and then I'll work on anchoring, docking.
>
Image