I have Grid layout within that I have scrollArea where I am creating dynamic buttons, layout is within the centralWidget , When I resize (shrink , expand ) i want to resize my layout as well as button inside that .
How can I do that
I have tried adjustSize and setSizePolicy fixed and expanding but nothing works on layout
when I shrink the window button are hidden in stand of it I want it to be shrink with window size