1. #11
    Sencha User
    Join Date
    Jul 2012
    Posts
    107
    Vote Rating
    -1
    Answers
    4
    sencha.user is an unknown quantity at this point

      0  

    Default


    Hi,

    Sorry for late reply, have been into something else. I am not trying to center something (for example, a grid panel) in a panel center aligned, I am trying to bring the whole panel to the center.

  2. #12
    Sencha User Arg0n's Avatar
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    122
    Vote Rating
    16
    Answers
    12
    Arg0n will become famous soon enough Arg0n will become famous soon enough

      0  

    Default


    Uhm... could you show a screenshot or smth O.o

  3. #13
    Sencha User
    Join Date
    Jul 2012
    Posts
    107
    Vote Rating
    -1
    Answers
    4
    sencha.user is an unknown quantity at this point

      0  

    Default


    If you see this example,
    http://docs.sencha.com/ext-js/4-1/#!...d_to_grid.html

    There are 2 grid panels inside a panel, I can center grid panels, there are some options, how do I center the whole panel? I think you can understand my query now..

  4. #14
    Sencha User Arg0n's Avatar
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    122
    Vote Rating
    16
    Answers
    12
    Arg0n will become famous soon enough Arg0n will become famous soon enough

      1  

    Default


    With simple html <center> or css <div style="text-align: center;"> o.O

    Example index.html

    Code:
    <div style="text-align: center;">
      <script language="JavaScript">
        //EXTJs...
      </script>
    </div>

  5. #15
    Sencha User
    Join Date
    Jul 2012
    Posts
    107
    Vote Rating
    -1
    Answers
    4
    sencha.user is an unknown quantity at this point

      0  

    Default


    Didn't work, I think I will not use this, would have been good if known how. Thanks for trying to help me out .

Thread Participants: 2