Can not use an size in all components "ui-g ui-fluid"

Post Reply
ceechette
Posts: 28
Joined: 05 Oct 2017, 13:08

19 Oct 2017, 17:46

Hi, I use the Verona theme and when I use the class "ui-g ui-fluid" the "size" tag is not respected. I am mounting the wrong code maybe or it is not possible to use specific size with the class "ui-g ui-fluid"? I wait for an answer.
Note: When I put "<p: panelGrid" with "columns" equal to 8, the "size" of the components work, but I only need one or two columns at most.

Thank you so much.

"<div class="ui-g ui-fluid nopad">
<p:panelGrid columns="1" layout="grid" styleClass="ui-panelgrid-blank">
<p:outputLabel value="Código:" />
<p:inputText value="#{gerClidestBean.crudObj.gerClidestPK.cliCod}" size="10"..."

ceechette
Posts: 28
Joined: 05 Oct 2017, 13:08

20 Oct 2017, 14:31

Any Reply? Please!

User avatar
aragorn
Posts: 3081
Joined: 29 Jun 2013, 12:38

26 Oct 2017, 13:23

Which PrimeFaces version are you using?

ceechette
Posts: 28
Joined: 05 Oct 2017, 13:08

26 Oct 2017, 13:32

aragorn wrote:
26 Oct 2017, 13:23
Which PrimeFaces version are you using?
6.1

User avatar
aragorn
Posts: 3081
Joined: 29 Jun 2013, 12:38

26 Oct 2017, 14:24

Please try;

Code: Select all

<style type="text/css">
    .ui-fluid .ui-inputtext[size] {
        width: auto;
    }
</style>

ceechette
Posts: 28
Joined: 05 Oct 2017, 13:08

26 Oct 2017, 14:26

aragorn wrote:
26 Oct 2017, 14:24
Please try;

Code: Select all

<style type="text/css">
    .ui-fluid .ui-inputtext[size] {
        width: auto;
    }
</style>
Nice, it worked. Thank you!

User avatar
aragorn
Posts: 3081
Joined: 29 Jun 2013, 12:38

26 Oct 2017, 14:27

Glad to hear, I'll add this fix to 6.1.x and 6.2 versions.

ceechette
Posts: 28
Joined: 05 Oct 2017, 13:08

26 Oct 2017, 14:36

aragorn wrote:
26 Oct 2017, 14:27
Glad to hear, I'll add this fix to 6.1.x and 6.2 versions.
if possible perform the fix for all components, an example is for the "p: calendar", I had to change the css to:

Code: Select all

.ui-fluid .ui-inputfield[size] {
    width: auto;
}

User avatar
aragorn
Posts: 3081
Joined: 29 Jun 2013, 12:38

26 Oct 2017, 14:49

Of course ;) I'll add it.

Post Reply

Return to “Verona - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest