I would rewrite this as SplitLayoutPanel. <g:north> would be topDiv and a SimpleLayoutPanel. <g:west> would be leftDiv and a SimpleLayoutPanel. <g:center> would be rightDiv and a ScrollPanel or CustomScrollPanel.
It's a pain in the neck to get in place, but it does work. On Monday, April 16, 2012 4:45:01 PM UTC-4, Deepak Singh wrote: > > Hi, > > I have the following scenario, > > Html: > <div> > <div style="width:100%" ui:field="topDiv"></div> > <div style="width:40%" ui:field="leftDiv"></div> > <div style="width:60%" ui:field="rightDiv"></div> > </div> > > Now, this uibinder is rendered at a particular position in html. Browser > scrolls up and down and this uibinder scrolls up and down as usual. > > Now, I need to achieve two things, > > As the scrollbar moves, > > when the 'topDiv' reaches the top postion of browser, it should not scroll > any more and make its position fixed. When scrollbar scrolls up, 'topDiv' > should also scroll down and reach its original position. > > At the same time, 'leftDiv' should always remain fixed and should never > scroll up or down ever. > > And, 'rightDiv' should always scroll up and down with scrollbar as > required natively. > > So the question is, how do i track the movement of scroll bar up and down ? > What should be the proper css applied to each div ? > > > Thanks > Deepak Singh > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Y_Hx2bQDLBEJ. 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.
