]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Rollback of Issue #18096(Tuleap) modifications. V9_4_BR occ/fixes_for_940 V9_4_0 V9_4_0rc3
authorvsv <vsv@opencascade.com>
Thu, 28 Nov 2019 07:55:27 +0000 (10:55 +0300)
committervsv <vsv@opencascade.com>
Thu, 28 Nov 2019 07:56:07 +0000 (10:56 +0300)
src/XGUI/XGUI_PropertyPanel.cpp

index c5d0c93b81ed19e0716dbd09f1aca7f4aa7c34c3..d0217ac1a0ec73e3f4cc3a2b6f5b3416ea077b79 100644 (file)
@@ -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);