Domanda

QSplitter

I made a QSplitter layout. And under QSplitter, there is QWidget and it's gridLayout children. At this case, I can't minimize QSplitter to 0 size. As I see above, it has restriction for height. What cause this problem? I tested some cases, and I found that when I use QGridLayout for QWidget's children. But I can't set minimum height to 0.

È stato utile?

Soluzione

I'm not sure exactly what you're trying to do, but you can always call hide on a widget.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top