6
Greetings to you all, I’m new as a Java programmer, and I’m having difficulty setting some things in the table for lack of experience, note the image;

As you can see the field Manufacturing year is poorly placed, it is like this;
Ano de
Fabrica
And it really should be like this;
Ano de Fabrica
This is my XHTML page
        <div class="left-sidebar">
            <p:panelGrid columns="2" id="painel1"
                style="width: 50%; margin-top: 20px" columnClasses="rotulo, campo">
                <p:outputLabel value="Tipo" for="tipo" />
                <p:selectOneMenu id="tipo">
                    <f:selectItem itemLabel="Selecione o tipo" />
                </p:selectOneMenu>
            <p:outputLabel value="Marca" for="marca" />
                <p:selectOneMenu id="marca">
                    <f:selectItem itemLabel="Selecione a marca" />
                </p:selectOneMenu>
            <p:outputLabel value="Modelo" for="modelo" />
                <p:selectOneMenu id="modelo">
                    <f:selectItem itemLabel="Selecione o modelo" />
                </p:selectOneMenu>
                <p:outputLabel value="Preço" for="preco" />
                <p:inputText id="preco" size="20" maxlength="20" />
                <p:outputLabel value="Tamanho" for="tamanho" />
                <p:inputText id="tamanho" size="20" maxlength="20" />
                <p:outputLabel value="Tripulação" for="tripulacao" />
                <p:inputText id="tripulacao" size="20" maxlength="20" />
                <p:outputLabel value="Ano de Fabrica" for="anofabrica" />
                <p:inputText id="anofabrica" size="20" maxlength="20" />
            </p:panelGrid>
        </div>
How do I make the changes?
it was interesting to know this information, but still continues with the same problem.
– wladyband
in my worked, but without columnClasses="label, field", try to take in your.
– Rafael
all right, who good it worked on yours, but mine didn’t work, I tried it gives a clear, I’ve restarted the server Tomcat and nothing.
– wladyband
which version of the primefaces?
– Rafael
The version of is primefaces 3.5
– wladyband
should be why I tested on 5.2. You cannot update?
– Rafael
I just updated, but it didn’t resolve.
– wladyband
you changed the style="width: 90px;" that I put in the first column? You’ll probably have to put a higher value
– Rafael