0

Size of Panel.

asked 2011-03-17 12:07:01 +0800

cawink gravatar image cawink
27 1

updated 2011-03-17 12:16:14 +0800

Hi.

How to get the size of a maximized Panel when i resize a browser ?

I used the example with onClientInfo="onClientInfo(event)" with Window, but i only get the browser size.

Thanks.

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2011-03-17 16:33:25 +0800

xcom gravatar image xcom
564 3

mmmm..

int height = evt.getDesktopHeight();
int width = evt.getDesktopWidth();

so, asigna nuevamente el desktop, a lo que ya tienes.

or

public onClick$myPanel(){
///you new asign width and heigth autowired
myPanel.width=you new width
myPanel.width=you new heigth

}

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: 2011-03-17 12:07:01 +0800

Seen: 613 times

Last updated: Mar 17 '11

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