This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes put buttons in a tidy way Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "put buttons in a tidy way" Watch "put buttons in a tidy way" New topic
Author

put buttons in a tidy way

Dura Hurtado
Ranch Hand

Joined: Feb 16, 2011
Posts: 120
Hi I am trying to put severals buttons in a form for the moment I am using a panelGrid, this way:



but I cant set a heigth for the panel. ┬┐Anyone knows a way to do it?

Thanks
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15964
    
  19

Yep. Put a 'style="height: 14px"' or something similar on the panelGrid. Or use the styleClass attribute.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: put buttons in a tidy way
 
Similar Threads
<rich:toolTip> problem.
h:dataTable and rich:toolTip
Can't reRender richfaces datatable from modal panel
JSF: Centering A Table (panelGrid)
blue borders are showing on image link in jsf