QScrollArea alignment
-
Hello,
I'm having this problem where the QScrollArea isn't expandingfully on the layout only fixed size works:
The grid layout has that label and QCombobox and then the scrollArea bellow them but it doesn't seem to want to occupy the rest of the layout, anyone has any ideias on this?
-
Hi
I put grid layout on form, add label, combo and scroll areaIt expands for me so i wonder what i did miss ?
-
@DevM
Very odd,
Even creating a fresh one just for test don't work ? `? (takes no time to drag and drop to form)I wonder if you tweak the label somehow or change properties ?
and grid_7 is not part of something bigger layout or anything?
-
grid_7 is indeed part of another grid layout but don't see how it could affect in this case.
Overall tree is like this:
grid 5 containing everything up the button up top:
grid5 layout settings:
then grid 7 which is inside grid5 and contains that Qlabel and Qcombobox plus the scrollArea:
and its settings:
then the scrollArea itself with this:
Also it seems that in a new form there's no problem , all works.
code .ui if it helps in anything: https://pastebin.com/k8e1e4pe -
Hi
Ui files always help :)
I cant explain what up with it. it's like it has fixed size on it but it has not.And once i fix it, it does not go back. o.O