Re: HeaderPanel not setting height of the Content widget

2013-09-24 Thread Patrick Tucker
Ahh sorry must have misread. On Friday, September 6, 2013 8:26:10 AM UTC-4, stuckagain wrote: Patrick, No, I don't know the height of the header, and I certainly don't want to set it in pixel sizes in the code either. (I even have the header change height depending on what the user is

Re: HeaderPanel not setting height of the Content widget

2013-09-06 Thread Patrick Tucker
If you have a set size for your header, you most likely should be using a DockLayoutPanel. The HeaderPanel should be used when you do not want to restrict your header or footer to a particular size and allow it to be whatever size it ends up being. -- You received this message because you

Re: HeaderPanel not setting height of the Content widget

2013-09-06 Thread stuckagain
Patrick, No, I don't know the height of the header, and I certainly don't want to set it in pixel sizes in the code either. (I even have the header change height depending on what the user is doing in there). The question was about the content widget not being resized in a HeaderPanel, not the

Re: HeaderPanel not setting height of the Content widget

2013-09-06 Thread Zak Linder
See this thread for some more discussion on this issue and another workaround method: https://groups.google.com/d/msg/google-web-toolkit/Fx6uZyaQxDA/zQxNUehfR1sJ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this

Re: HeaderPanel not setting height of the Content widget

2013-08-20 Thread David
Jens, Thanks for the tip, that is actually a nicer solution to my problem! David On Mon, Aug 19, 2013 at 6:11 PM, Jens jens.nehlme...@gmail.com wrote: But reality is a bit different, the layout panels are actively changing widget sizes, except the HeaderPanel. This is happening because

Re: HeaderPanel not setting height of the Content widget

2013-08-19 Thread Thomas Broyer
On Monday, August 19, 2013 4:06:07 PM UTC+2, stuckagain wrote: Hi, I am trying to use the HeaderPanel to set a Header/Footer and an resizing ContentPanel (which contains a CellTable). The problem is that unlike other LayoutPanel classes the vertical size is not enforced on the

Re: HeaderPanel not setting height of the Content widget

2013-08-19 Thread David
Thomas, But reality is a bit different, the layout panels are actively changing widget sizes, except the HeaderPanel. Additionally the forceLayout is a private method in this Layout widget, not that it matters to me in this case. But Ok, I have a workaround in that I set the pixel size myself. I

Re: HeaderPanel not setting height of the Content widget

2013-08-19 Thread Jens
But reality is a bit different, the layout panels are actively changing widget sizes, except the HeaderPanel. This is happening because HeaderPanel isn't a LayoutPanel and does not use one internally. To fully mimic the LayoutPanel behavior you would need to add position:absolute; top,