Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Layout Problem

    Hello, In my application, I have a layout problem. I have a VLayout composed of 2 SectioStackSection and a ButtonsLayout which is an HLayout and contains 2 buttons Save and Reset. At start, the ButtonsLayout is hidden via :
    Code:
    buttonsLayout.hide();
    When the user ticks the edit mode, the buttonsLayout becomes visible via :
    Code:
    buttonsLayout.show();
    The problem is that the distance between the 2 SectionStackSection changes if the buttonsLayout is hidden or visible.

    The first 2 images shows what I mean andthe 3rd image is the original display of the window when I don't hide the ButtonsLayout originally.

    Can you please explain to me why this is happening?
    Attached Files

    #2
    My initial understanding is that in a VLayout the last element starts filling from bottoms up and so the first element will take all the other space available and because the buttonsLayout is hidden, the second SectionStackSection is moving to the bottom and by showing the buttonsLayout it is moving up again.

    Comment


      #3
      No one has an idea?

      Comment


        #4
        What an active community this is -.-

        Comment


          #5
          Yes, it is an extremely active community (just look at the number of posts). Consider the FAQ for reasons who your post may not have interested anyone in the community.

          Comment


            #6
            Sorry but for me the most active community is the stackoverflow community.

            Comment

            Working...
            X