This is an issue I never managed to solve in my FB apps, GWT or not. I am not even sure it is possible in fact. Let alone the simple fact that your iframe might be too far down the screen to even allow window centering. What I ended up doing is position the window centered in width and 100px down the iframe top. Anyway, just curious, what library do you use for the FB API on the client side?
On Feb 7, 10:52 pm, Oren <[email protected]> wrote: > Hey, > > I'm using GWT to write a simple FB canvas app. I noticed all my > "centered" dialogs are way off in terms of vertical placement. Digging > deeper I learned that Window.getClientHeight() returns the iframe > height and not the visible area's height and thus the dialogs are not > centered properly. > > Does anyone know how I can overcome this issue and get my dialogs > centered properly? Didn't find much about it browsing through the > group discussions... > > Thanks, > Oren. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
