Forráskód Böngészése

Fix arrows on collapsible group box to match button

Arrow now points right when box is closed, and down
when box is open.
Steve Pieper 14 éve
szülő
commit
ce90461cb3
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      Libs/Widgets/ctkCollapsibleGroupBox.cpp

+ 1 - 1
Libs/Widgets/ctkCollapsibleGroupBox.cpp

@@ -44,7 +44,7 @@ class ctkCollapsibleGroupBoxStyle:public QProxyStyle
       const QGroupBox* groupBox= qobject_cast<const QGroupBox*>(widget);
       if (groupBox)
         {
-        this->QProxyStyle::drawPrimitive(groupBox->isChecked() ? QStyle::PE_IndicatorArrowUp : QStyle::PE_IndicatorArrowDown, opt, p, widget);
+        this->QProxyStyle::drawPrimitive(groupBox->isChecked() ? QStyle::PE_IndicatorArrowDown : QStyle::PE_IndicatorArrowRight, opt, p, widget);
         return;
         }
       }