suppose Panel A has 3 TextBox one over each others Panel B has 5 TextBoxes Panel C has 8 TextBoxes then parent should be smart enough to make its height fit 8 TextBox. with DockLayoutPanel this does'nt work. or am i doing smth wrong. the Panels are dynamically built and added to parent ,so parent should resize accordinly to fit the height and width of its children. as i said i used H/V panels to achieve automatic vertical resize. but horizontal resize of last pa
On Jan 3, 10:02 pm, othman El Moulat <othmanelmou...@gmail.com> wrote: > The parent panel souhld fit the children Panels *height*. with > DockLayoutPanel it is impossible to do that b/c DockLayoutPanel uses *absolute > positioning*. So the solution should never use DockLayoutPanel. the parent > should have three Panels Layed out in the most let and then the last one (C) > should resize automatically to fit all remaining horizontal space left from > parent after positioning A and B in the most left. does this makes sense? > I'm surprised how it is so hard to achieve this simple Layout with GWT. > there is no Layout Widget that is flexible enough to allow automatic > resizing etc..is this Layout impossible to do with standard GWT? > |---------- Parent ---------------| > || A | B | C | > |---------------------------------| > > > > > > > > On Mon, Jan 3, 2011 at 9:21 PM, Owen Powell <opow...@gmail.com> wrote: > > What exactly do you want? > > > A parent panel with width=100%, 3 children panels each of their own width, > > and then something like this? > > > |---------- Parent ---------------| > > | (space ) | A | B | C | > > |---------------------------------| > > > I'm confused as to whether you want the parent to resize or not - in other > > words, whether the (space) area should exist or not. > > > ~Owen > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Web Toolkit" group. > > To post to this group, send email to google-web-tool...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2Bunsubs > > cr...@googlegroups.com> > > . > > 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 google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.