What is causing Qt widgets to be squished?

I’m trying to track down an issue which only happens inside Anki, and not within the pytest-qt environment (I can open those dialogs independently of Anki). As you can see in the screenshot, some widgets resize beyond their minimal size, a behavior i’m not able to reproduce when I just bring up the same dialog outside of the Anki environment.
Does anyone have any suggestions ?