This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JSF and the fly likes horizontal alignment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "horizontal alignment" Watch "horizontal alignment" New topic
Author

horizontal alignment

Joe Jose
Ranch Hand

Joined: Jan 14, 2004
Posts: 125
Hi,

I need to align the panelGrid horizontally. When I try to do this, it comes vertically.Please anyone help me how can I achieve it horizonmtally ?

Here is my code bit :



Thanks,
Joe.
Joe Jose
Ranch Hand

Joined: Jan 14, 2004
Posts: 125
I got it solved. I hadn't given enough number of columns in panelGrid.

Thanks,
Joe.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: horizontal alignment