pe:inputNumber width

Community Driven Extensions Project
Post Reply
ltelegescu
Posts: 9
Joined: 04 Mar 2013, 20:50

24 Sep 2014, 21:27

Hi everyone!

I just updated libraries from my project and after that I realize that the width of pe:inputNumber in all contexts is the same. Here is a simple example:

Code: Select all

                            <pe:inputNumber value="#{modFisaU.val[col.index]}" maxValue="12" decimalPlaces="0" style="width: 18px; border: none; padding: 2px 0 2px 4px;" maxlength="1" onclick="this.value = '';" required="true">
                                <f:converter converterId="javax.faces.Integer"/>
                            </pe:inputNumber>
Even if I use styleClass (not inline css), result is the same
With primefaces-extensions-2.0.0.jar setting width is ok, only version primefaces-extensions-2.1.0.jar have this problem
This behavior is normal in new versions of PF extensions or am I missing something? Thanks in advance. Regards.

PrimeFaces 5.1 RC 1, Mojarra 2.2.7, Oracle GlassFish Server 4.1, Windows 7, NetBeans IDE 8.0.1

dhenrique
Posts: 4
Joined: 22 May 2015, 14:11

29 Jun 2015, 18:43

I solved it in this way:

Code: Select all

.inputOnDataTable input
{
    width: 70px !important;   
}

Code: Select all

<pe:inputNumber ... styleClass="inputOnDataTable" />
Source: http://forum.primefaces.org/viewtopic.php?f=14&t=23643

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 8 guests