0

Know when center (borderlayout) change its size

asked 2012-10-15 11:13:24 +0800

Neus gravatar image Neus
1415 14

Hi,
I have a borderlayout with a north, a west and a center. I need to know when the center has changed its size (because north and west are opened, because pge has change its size...).
Is there a way to do that? (maybe an onResize event??)

Thank you!

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2012-10-17 06:50:23 +0800

Neus gravatar image Neus
1415 14

Isn't there any onResize event for all components? Because in the case I described I know I can listen to the onOpen of the other regions but I need to know if a component changes its size in general

link publish delete flag offensive edit

answered 2012-10-17 02:15:55 +0800

vincentjian gravatar image vincentjian
2245 6

updated 2012-10-17 02:18:45 +0800

Hi,

You can listen onOpen event to North, West and onClientInfo event (browser resize) to root component for detecting center size changed.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-10-15 11:13:24 +0800

Seen: 54 times

Last updated: Oct 17 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More