ScrollPanel inside HeaderPanel // Another option for an auto-resizable DockLayoutPanel?

95 views
Skip to first unread message

Ernesto Oltra

unread,
Jun 5, 2011, 4:21:17 PM6/5/11
to google-we...@googlegroups.com
The title says all. I have the following structure:

- DockLayoutPanel
     - north
     - north
     - center
        - HeaderPanel
           - header: [ Here I have a HTMLPanel, it can change, and so its height ]
           - content: ScrollPanel

The problem is ScrollPanel extends beyond the screen (HeaderPanel content has overflow:hidden in its CSS)

If it has no solution, is there any alternatives in order to have an auto-resizable north panel in a DockLayoutPanel?


Shaun Tarves

unread,
May 23, 2012, 3:42:00 PM5/23/12
to google-we...@googlegroups.com
Did you ever figure out a solution to this?

Ernesto Oltra

unread,
May 24, 2012, 12:31:14 AM5/24/12
to google-we...@googlegroups.com
Does the setSize() trick work?

2012/5/23 Shaun Tarves <sh...@tarves.net>
--
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/-/aBCOb8rkmJoJ.

To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Shaun Tarves

unread,
May 24, 2012, 2:39:42 PM5/24/12
to google-we...@googlegroups.com
No, I can't get the header panel to work at all. The header block shows up, but nothing in the content area is visible.
Reply all
Reply to author
Forward
0 new messages