سؤال

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.

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top