Revision history [back]

click to hide/show revision 1
initial version

asked 2013-06-01 21:23:02 +0800

posh gravatar image posh

Align buttons

Hi everyone.. I am making an application I have just found my first problem.. How can I align my first button on the left, and the second one on the right?

I have the following zul:

<zk> <borderlayout hflex="1" vflex="1">

        <north vflex="min" border="none">
            <hbox vflex="1">
                <button image="/imagens/return.png" width="50px" height="50px" />
                <button image="/imagens/home.png" width="50px" height="50px" href="index.zul"/>
            </hbox>
        </north>

        <center vflex="min" border="none">
            <div id="centro" vflex="1">

            </div>
        </center>

    </borderlayout>

</zk>

Align buttons

Hi everyone.. I am making an application I have just found my first problem.. How can I align my first button on the left, and the second one on the right?

I have the following zul:

<zk>

    <borderlayout hflex="1" vflex="1">

vflex="1">
        <north vflex="min" border="none">
            <hbox vflex="1">
                <button image="/imagens/return.png" width="50px" height="50px" />
                <button image="/imagens/home.png" width="50px" height="50px" href="index.zul"/>
            </hbox>
        </north>

        <center vflex="min" border="none">
            <div id="centro" vflex="1">

            </div>
        </center>

    </borderlayout>

</zk>

Align buttons

Hi everyone.. I am making an application I have just found my first problem.. How can I align my first button on the left, and the second one on the right?

I have the following zul:

 <borderlayout hflex="1" vflex="1">
     <north vflex="min" border="none">
         <hbox vflex="1">
             <button image="/imagens/return.png" width="50px" height="50px" />
             <button image="/imagens/home.png" width="50px" height="50px" href="index.zul"/>
         </hbox>
     </north>
     <center vflex="min" border="none">
         <div id="centro" vflex="1">

         </div>
    </center>    </center>
  </borderlayout>
Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More