Thanks. I guess one should not put DockLayoutPanel into ScrollPanel, it just does make much sense even if relative positioning is out of the way. The reason this situation happened in my application is that I have a standard top-level layout with ScrollPanel being its main container. I shall use LayoutPanel instead and move the responsibility for enclosing content into an appropriate Panel onto the child views.
Mike On May 21, 4:22 pm, Savio Grossi <[email protected]> wrote: > Hi, > > the problem is that ScrollPanel apparently is not propagating the layout > data, according to the explained here: > > http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html#De... > > A workaround is to remove "position:relative" style from ScrollPanel <div>. > > Savio Grossiwww.sambatech.com > > > > On Thu, May 13, 2010 at 8:53 PM, Mike <[email protected]> wrote: > > Hi, > > > I have the same type of problem but with slightly simplier structure: > > RootLayoutPanel > > DockLayoutPanel > > ScrollPanel (in center) > > DockLayoutPanel > > > Widget within north of the last DockLayoutPanel shows up correctly. > > Other parts (east, west, center, south) do not appear, i.e. if I > > specify east, south and center I have nothing at all inside the > > ScrollPanel however if I have north and center I can see whatever > > there is in the north but not in the center. Here is an example: > > <g:north size="5"> > > <g:Label>North</g:Label> > > </g:north> > > <g:center> > > <g:Label>Test</g:Label> > > </g:center> > > where only North text is visible. > > > I use UiBinder for all the levels below root and 2.0.3 version of the > > Toolkit. The host html page has strict HTML doctype declaration. > > Initially loaded in FF 3.6.3 with Google Update plugin 1.2.183.23. > > Also uploaded onto App Engine and got the same result w/o dev plugin. > > > Thanks, > > Mike > > > On Apr 16, 4:51 am, rmmcgr <[email protected]> wrote: > > > Hi, > > > > I have problem with a ScrollPanel not displaying its contents that is > > > buried a few layers deep in some layout panels (all done using > > > UiBinder). I have: > > > > RootLayoutPanel > > > DockLayoutPanel (for application layout) > > > TabLayoutPanel (in the center area) > > > tab > > > Custom View, implementing ResizeComposite > > > DockLayoutPanel > > > ScrollPanel (in the west area) > > > FlexGrid (for the list of items) > > > FlowLayoutPanel (in the center, for the detail of a > > > particular item) > > > Form controls > > > > Problem with the above is that the list in the scroll panel is not > > > showing. FireBug is showing me that the data gets into the page, but > > > is not visible. If I swap out the ScrollPanel for, say, a FlowPlanel > > > it appears. > > > > What is the trick to getting this all to work? > > > > Thanks for any help, > > > Richard > > > > -- > > > 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]<google-web-toolkit%[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]<google-web-toolkit%[email protected]> > > . > > For more options, visit this group at > >http://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.
