Commit c37c2976 authored by Tobias Hunger's avatar Tobias Hunger

Fix display of option pages

Improve handling of page sizes, especially of the kits page (with
small and big dialog sizes).

Change-Id: I8dba7b4b5028cb41e0719a2f9aec15eb89858a8a
Reviewed-by: default avatarTim Jenssen <tim.jenssen@theqtcompany.com>
parent 94b7c72a
......@@ -337,6 +337,7 @@ public:
{
setFrameStyle(QFrame::NoFrame | QFrame::Plain);
viewport()->setAutoFillBackground(false);
setWidgetResizable(true);
}
private:
void resizeEvent(QResizeEvent *event) override
......@@ -385,7 +386,6 @@ private:
return 0;
return list.first()->sizeHint().width();
}
};
......
......@@ -151,8 +151,6 @@ void KitOptionsPageWidget::kitSelectionChanged()
m_kitsView->scrollTo(current);
}
adjustSize(); // Force relayout!
updateState();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment