Toolchain options: Enable horizontal scrollbar for details

The scroll area was introduced for the large vertical size of the custom
tool chain configuration widget, but actually the ABI setting for the
non-custom tool chains is pretty wide and can require horizontal
scrolling.

Show a horizontal scroll bar too, if needed.

Change-Id: Ied926c4b9f2add4ae7164346a9b068b4055e777d
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Eike Ziller
2018-12-18 12:43:17 +01:00
parent 4c1efb94d5
commit b1aef444e2

View File

@@ -47,7 +47,6 @@ ToolChainConfigWidget::ToolChainConfigWidget(ToolChain *tc) :
auto centralWidget = new Utils::DetailsWidget;
centralWidget->setState(Utils::DetailsWidget::NoSummary);
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setFrameShape(QFrame::NoFrame);
setWidgetResizable(true);
setFocusPolicy(Qt::NoFocus);