I tried using a horizontal panel as a main panel with wisth and height
to 100%. Inside it i created two different verticalpanels. The one on
left hand side has fixed width set to 233 pixels using css. Now the
right child panel should occupy the remainng space in the screen. I
tried setting width to 100% in css as well as in gwt code. It doesnt
work. By default a panel occupies only the space its content requires.
So an empty panel doesnt have much width even if it occupies the
entire height.
Inside the rightside panel i have to use 2 child widgets which occupy
entire width. How should i got about it?Is there a way to get window
dimesnions in css so that i can calculate the width in pixels in the
css itself?

On Dec 15, 2:10 am, gregor <[email protected]> wrote:
> AFAIK there is no way you can disable the internal ScrollPanels in
> HSP. HSP internally puts each widget (left & right) inside a
> ScollPanel automatically for you, and if either left of right widgets
> grow they will kick in, end of. HSP is also declared final, so it is
> impossible to extend the class to attempt to modify this behaviour.
>
> If you want to completely disable HSP resizing (i.e you do not want
> the user to able to move the splitter) why use HSP? Why not use a 2
> cell HorizontalPanel with a fixed left cell size and the right 100%
> width?
>
> On Dec 14, 10:32 am, aragorn <[email protected]> wrote:
>
> > I am using a horizontalSplitPanel to divide my window into two parts-
> > left part has fixed width while the right one occupies the entire
> > remaining space. I want to hide the fact that i have used SplitPanel
> > by  removing the default scrollbars the appear whenever the inner
> > panels go out of size and disabling resizing capability of the
> > splitPanel. Is there a way to achieve it? I definitely need a way to
> > remove the scrollbars.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to