Thats an interesting way to go about it Kev, looks like it would work great. I've done some thinking and was thinking of going about it this way:
Attaching a Window.resizeHandler to the panel and checking for Window.ClientBrowserHeight/Width when the browser resizes. If the panel is < size X then set itself to size X. Just not sure if this is the best or most efficient way to go about it after reading this article: http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html#Resize Going by this line from it "Most widgets should not need to know when they've been resized, as the browser's layout engine should be doing most of the work." Ugly or not, your method does seem like the best way to go about it. Cheers, Matt On May 10, 12:08 am, KevMo <[email protected]> wrote: > I have a horrible solution... but at least it works on IE 6. > > I insert a clear .gif 1 pixel wide, and however tall you want, and > another one 1px tall and however wide you want. > > It'n not pretty, but it works well. > > On May 9, 5:27 am, matttai <[email protected]> wrote: > > > > > > > Hi Group, > > > I am trying to assign a min-height / min-width attribute to the > > DockLayoutPanel attached to the base via attaching a class styleName > > to it. It doesn't seem to have any effect at all. > > > Does anyone have any hints as to how to have my base DockLayoutPanel > > bring up scrollers in the browser once it has been resized too small? > > > Cheers, > > > Matt > > > -- > > 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 > > athttp://groups.google.com/group/google-web-toolkit?hl=en. > > -- > 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 > athttp://groups.google.com/group/google-web-toolkit?hl=en. -- 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.
