Problems with the positioning of the dialog of the firstfaces

0

I wanted to know a way to position my dialog a certain distance from the left side of the screen.

<p:dialog id="dialogAcesso" showHeader="false" visible="true" width="500" position="left">



            <div align="center">
                <h:panelGrid columns="2" cellpadding="7">                        
                    <h:commandButton type="submit" id="Enviar" value="Enviar" action="#{servidorMB.alterarUsuario()}" style="border-width:0px; text-align: center; border-radius: 5px; height: 29px; width: 70px;  background: #427BCA; color: #ffffff"/>
                    <h:commandButton type="submit" id="voltar" value="Voltar" action="#{servidorMB.alterarUsuario()}" style="border-width:0px; text-align: center; border-radius: 5px; height: 29px; width: 70px;  background: #427BCA; color: #ffffff"/>
                </h:panelGrid>
            </div>
            <p:spacer width="100" height="15" />
        </p:dialog>

The position="left" just sticks to it on the left but wanted a certain distance from the left corner how do I?

    
asked by anonymous 07.12.2018 / 15:39

1 answer

0

Fix the problem by setting the position tag

As for example:

 <p:dialog id="dialogAcesso" showHeader="false" visible="true" width="500" height="400" position="230,130" >
    
14.12.2018 / 12:24