1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    19
    Vote Rating
    0
    kencl is on a distinguished road

      0  

    Default Help with alignments

    Help with alignments


    I need some help to align a panel. I have a form which consists of 3 hbox sections, top, middle and bottom. Top and bottom are docked so they align fine, but the middle box doesn't align correctly. It is 20 or so pixels indented from the left. (screencap align1.png) I want it to align directly below the Cost fieldset. If I dock it to the left it aligns properly, but then it overlaps (hides) the bottom button! (screencap align2.png)

    Suggestions? Thanks.
    Attached Images

  2. #2
    Sencha User
    Join Date
    Apr 2012
    Posts
    19
    Vote Rating
    0
    kencl is on a distinguished road

      0  

    Default


    I found a way to move it to the left (and up a bit too) by setting the fieldsets top and left properties to zero. There's a bug, however, which causes all the data within the fieldset to be hidden, leaving only the title visible, when any value is set...

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    19
    Vote Rating
    0
    kencl is on a distinguished road

      0  

    Default


    I gave up on that and stopped docking the top fieldset.

  4. #4
    Sencha User
    Join Date
    Jun 2011
    Posts
    350
    Vote Rating
    1
    bharatn is on a distinguished road

      0  

    Default


    Dont you want to use the vbox layout on the formpanel?
    Bharat Nagwani
    Sencha Designer Development Team

  5. #5
    Sencha User
    Join Date
    Apr 2012
    Posts
    19
    Vote Rating
    0
    kencl is on a distinguished road

      0  

    Default


    I tried that, and a lot of other things. I think, really, that I should not have been docking the top fieldset.

  6. #6
    Sencha User
    Join Date
    Jun 2011
    Posts
    350
    Vote Rating
    1
    bharatn is on a distinguished road

      0  

    Default


    Hi,

    Are you saying your problem is resolved?

    Could you shed more light on how to reproduce the bug - which causes all the data within the fieldset to be hidden, leaving only the title visible, when any value is set

    Thanks
    Bharat Nagwani
    Sencha Designer Development Team

  7. #7
    Sencha User
    Join Date
    Apr 2012
    Posts
    19
    Vote Rating
    0
    kencl is on a distinguished road

      0  

    Default


    The problem of alignment is resolved in that I am not trying to make the second box align with the first box.

    I'm having the same disappearing panel problem with a different approach (see my other post). Could be a problem with checkboxes being scrolled rather than anything to do with fieldsets.

Thread Participants: 1