GridLayout+ScrollArea widget position after size change
问题 I have a scrollArea with a gridlayout inside it, and i add QLabels to it with images. When the application starts it works fine and displays the labels correctly: Note: i calculate how many labels fit on the current layout space. If i maximize it works fine too: But when i hit restore something weird happens: You can see that only 6 labels are added (the same as in the first Screen shot) but here they are all positioned overlapping each other. This is the initialization code for the