Well I have not used WindowResizeListener in my code. Instead I have used CSS wherein i state the min-width and min-height for mu main window and whenever the window is resized beyond this minimum specification, a scrollbar appears. Also some of my widgets have their widths/heights in percentages while some have those in pixels(all using CSS). Thats why it gets difficult for me since i am never sure what i should set in CSS coz again different browsers and OS treat them differently.
On Thu, Feb 5, 2009 at 8:10 PM, gregor <[email protected]> wrote: > > Hi Aragorn, > > Enabling scrolling in Window class should give you main window scroll > bars. Resizing the browser window can be difficult to get right, it > depends on your application. If all your widgets are sized relatively > in percentage terms then sometimes it works out OK automatically. If > not you can attach a WindowResizeListener to your EntryPoint class and > kick off resizing algorithms from the onWIndowResize(..) method. > > regards > gregor > > On Feb 5, 1:09 pm, aragorn <[email protected]> wrote: > > I have created a webpage which fits itself to the size of the browser > > window at start. Whenevr it resizes, I want to get a scrollbar which > > will help me navigate the entire page. I tried using CSS overflow > > property but that doesnt work as in i am not able to view all the > > contents. The scrollbar does appear but then doesnt help show all the > > contetns inside the page. > > Another undesired effect I get is that the inner contents overlap each > > other after resizing to a smaller size. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
