I see the exact same behaviour in my application, and would appreciate
any ideas with this issue.
The popup is not centered for the first time only, and afterwards
popup.center() works fine. I am using GWT 2.0.3. Here is some sample
code:
public class LoginForm extends PopupPanel {
public
Did you try calling center() after the constructor, for example right
after where you instantiate the PopupPanel without the center() inside
the constructor?
I'm not that deep into GWT core but maybe it's related to the fact
that elements get their real/actual dimensions (and these are needed
to
Make sure the first widget you add the to dialog has a width and
ideally height set. Also make sure you don't have a css value set. The
starter app sets this and it causes all sorts of problems.
On Jun 28, 9:59 am, andreas horst.andrea...@googlemail.com wrote:
Did you try calling center() after
Hi,
I use gwt popup to show some messages, but it is not displayed in the
center of the display event if i call popup.center(). Actually it is
not centered
only the first time, if i close it and open it again every thing is
ok,
but not the first time. How to fix that?
I tried using
Hi mariyan,
Did you manage to resolve this issue? I see the exact same behaviour
on my application - the popup is not centered for the first time only,
and afterwards popup.center() works fine. I am using GWT 2.0.3. Here
is some sample code - I really can't see why this is happening.
Thanks in
No, i did not.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.com.
For
Put the panel and everything else that goes into it in before doing
center and show.
On Mar 15, 6:37 am, mariyan nenchev nenchev.mari...@gmail.com wrote:
No, i did not.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this
First, the only reliable way to set the size of the dialog is to set
the width and height of the first container widget you add to the
dialog. Don't try setting width and height on the dialog box, it
doesn't work and there is a bug logged against this.
Secondly, make sure you don't have a style
Hi,
I use gwt popup to show some messages, but it is not displayed in the center
of the display event if i call popup.center(). Actually it is not centered
only the first time, if i close it and open it again every thing is ok, but
not the first time. How to fix that?
Regards.
--
You received
try to set the pixel size of the popup before centering it.
popup.setPixelSize(width, height);
On Fri, Mar 12, 2010 at 5:04 PM, mariyan nenchev
nenchev.mari...@gmail.comwrote:
Hi,
I use gwt popup to show some messages, but it is not displayed in the
center of the display event if i call
Well i am setting pixel size on the Panel inside the popup
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to
Have you reviewed the sample -- with detailed comments -- near the top
of the javadoc page?
http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/PopupPanel.html
On Mar 12, 7:13 am, mariyan nenchev nenchev.mari...@gmail.com wrote:
Well i am setting pixel size on
12 matches
Mail list logo