Components too big...

UI Components for JSF
Post Reply
pahko
Posts: 2
Joined: 04 Aug 2011, 17:58

04 Aug 2011, 18:01

Hi all...

I have an issue with prime faces 2.2.1 .. it looks like any component is too big ...

does anyone know how to solve that issue??

I'm working with jsf 2 and facelets..

thanks...

User avatar
jim@jimtough.com
Posts: 142
Joined: 03 Jun 2011, 18:06
Location: Canada

04 Aug 2011, 19:03

Put this in a CSS file that is included in your Facelet page template:

Code: Select all

.ui-widget,
.ui-widget .ui-widget
{
    font-size: 90% !important;
}
PF 3.0,
Mojarra 2.1.4,
Tomcat 7.0.14,
Eclipse Indigo,
IE 7, Chrome

Image
http://stackoverflow.com/users/346112/jim-tough

Would rather be a Decepticon...

pahko
Posts: 2
Joined: 04 Aug 2011, 17:58

04 Aug 2011, 20:05

jim@jimtough.com wrote:Put this in a CSS file that is included in your Facelet page template:

Code: Select all

.ui-widget,
.ui-widget .ui-widget
{
    font-size: 90% !important;
}
thank you so much!!!!!!!

it worked like a charm!!!

:P

User avatar
jim@jimtough.com
Posts: 142
Joined: 03 Jun 2011, 18:06
Location: Canada

04 Aug 2011, 20:22

You're welcome.

You should get a copy of the PrimeFaces 2.2 manual from here: http://www.primefaces.org/documentation.html

Even if you're using PrimeFaces 3.0 (which I am) most of the info is still relevant. It gives some CSS details that would be really hard to figure out on your own. You'll occasionally want to override the default styling of a particular component with CSS.
PF 3.0,
Mojarra 2.1.4,
Tomcat 7.0.14,
Eclipse Indigo,
IE 7, Chrome

Image
http://stackoverflow.com/users/346112/jim-tough

Would rather be a Decepticon...

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 65 guests