File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Setting Fixed height in PanelGrid component Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Setting Fixed height in PanelGrid component" Watch "Setting Fixed height in PanelGrid component" New topic

Setting Fixed height in PanelGrid component

Ravi Sankar
Ranch Hand

Joined: Aug 17, 2007
Posts: 49
I am able to set the height for PanelGrid. But, if the content of panelgrid increases the height also will be increased. How to solve this problem?
A. Dusi
Ranch Hand

Joined: Sep 27, 2004
Posts: 114
If you want to scrollbar, use overflow:auto in your style.
Chris Simons

Joined: Aug 29, 2007
Posts: 19
Great, I was wondering about this myself.

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Welcome to the JavaRanch.

We're a friendly group, but we do require members to have valid display names.

Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.

Please edit your profile and correct your display name since accounts with invalid display names get deleted.

Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Setting Fixed height in PanelGrid component
It's not a secret anymore!