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 :
When the user ticks the edit mode, the buttonsLayout becomes visible via :
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?
Code:
buttonsLayout.hide();
Code:
buttonsLayout.show();
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?
Comment