Styling of Knob-component

Post Reply
Posts: 3
Joined: 02 Jun 2015, 13:53

07 Dec 2017, 11:13

The <p:knob>-component does not seem to get styled by the CSS definitions from the ultima template.

Since we use p:knob on our XHTML pages they do not fill well into the rest of the page layout.

Posts: 3850
Joined: 29 Jun 2013, 12:38

28 Dec 2017, 09:28

Please try;
<p:knob foregroundColor="#E91E63" backgroundColor="rgb(63,81,181)" value="25" height="150" width="150" widgetVar="knob1" thickness=".1"/>

You can change the values of foregroundColor and backgroundColor attributes.

Post Reply

Return to “Ultima - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest