From 8eb6106d43b2c2a27409ae1add63a2fa0cc3e285 Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 28 Nov 2019 10:55:27 +0300 Subject: [PATCH] Rollback of Issue #18096(Tuleap) modifications. --- src/XGUI/XGUI_PropertyPanel.cpp | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/src/XGUI/XGUI_PropertyPanel.cpp b/src/XGUI/XGUI_PropertyPanel.cpp index c5d0c93b8..d0217ac1a 100644 --- a/src/XGUI/XGUI_PropertyPanel.cpp +++ b/src/XGUI/XGUI_PropertyPanel.cpp @@ -76,18 +76,12 @@ XGUI_PropertyPanel::XGUI_PropertyPanel(QWidget* theParent, XGUI_OperationMgr* th setObjectName(PROP_PANEL); setStyleSheet("::title { position: relative; padding-left: 5px; text-align: left center }"); - QScrollArea* aScroll = new QScrollArea(this); - aScroll->setWidgetResizable(true); - aScroll->setFrameStyle(QFrame::NoFrame); - - QWidget* aContent = new QWidget(aScroll); + QWidget* aContent = new QWidget(this); QGridLayout* aMainLayout = new QGridLayout(aContent); const int kPanelColumn = 0; int aPanelRow = 0; aMainLayout->setContentsMargins(3, 3, 3, 3); - aScroll->setWidget(aContent); - - setWidget(aScroll); + setWidget(aContent); QFrame* aFrm = new QFrame(aContent); aFrm->setFrameStyle(QFrame::Raised); @@ -100,9 +94,9 @@ XGUI_PropertyPanel::XGUI_PropertyPanel(QWidget* theParent, XGUI_OperationMgr* th QStringList aBtnNames; aBtnNames << QString(PROP_PANEL_HELP) - << QString(PROP_PANEL_OK) - << QString(PROP_PANEL_OK_PLUS) - << QString(PROP_PANEL_CANCEL); + << QString(PROP_PANEL_OK) + << QString(PROP_PANEL_OK_PLUS) + << QString(PROP_PANEL_CANCEL); foreach(QString eachBtnName, aBtnNames) { QToolButton* aBtn = new QToolButton(aFrm); aBtn->setObjectName(eachBtnName); -- 2.39.2