Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
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?
I put grid layout on form, add label, combo and scroll area
It expands for me so i wonder what i did miss ?
That's strange, doesn't seem to work for me :l
JonB last edited by JonB
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?
DevM last edited by DevM
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
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
Yea its behaving oddly, didn't want to have it as fixed size ugh
Well it dont have to be luckly.
For some odd reason dragging it and release it back in, makes it work normally.
But I cant find any reason it refused to resize dragging the handle.
That i have not seen before.
Oh you are right that works haha, better than what it was before anyways
Yes it becomes normal again but i do wonder how it got sort of stuck like that.