From: vsv Date: Thu, 28 Nov 2019 07:55:27 +0000 (+0300) Subject: Rollback of Issue #18096(Tuleap) modifications. X-Git-Tag: V9_5_0a1~123 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=47744089c9902a007dc3d8474497b1ea4fe5c9c0;p=modules%2Fshaper.git Rollback of Issue #18096(Tuleap) modifications. --- 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);