1. #1
    Ext User
    Join Date
    Jan 2008
    Posts
    47
    Vote Rating
    0
    webdings is on a distinguished road

      0  

    Default How to make the form panel or any other panel align center?

    How to make the form panel or any other panel align center?


    Hi,

    I just create a simple form panel, everything was fine, but I cannot make the panel locate at center of page, for example, I make it as
    Code:
    <div id="newConference" align="center"></div>
    all items within the form panel are become align center like the 1st attachments, and the 2nd one is normal view, please help, thank you
    Attached Images
    I LOVE EXTJS

  2. #2
    Ext User
    Join Date
    Feb 2008
    Location
    Rostock - Germany
    Posts
    51
    Vote Rating
    0
    fellfresse is on a distinguished road

      0  

    Default


    i've done this with a table:
    HTML Code:
    <table align="center" class="contenttable" cellpadding="0" cellspacing="0" border="0">
                
                <tr>
                    <td id="content"></td>                
                </tr>
                
    </table>
    and give your formpanel the
    Code:
    renderTo: 'content',
    option, that render your formpanel to the id of the table cell.

  3. #3
    Ext User
    Join Date
    Jan 2008
    Posts
    47
    Vote Rating
    0
    webdings is on a distinguished road

      0  

    Default


    Thanks alot
    I LOVE EXTJS

  4. #4
    Sencha User Juvs's Avatar
    Join Date
    Oct 2007
    Posts
    36
    Vote Rating
    2
    Juvs is on a distinguished road

      0  

    Lightbulb


    I know is late, but just for the record:

    You can use alignTo() or anchorTo() from Element methods... check API.

    Cheers!
    Juvs

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."