Ver código fonte

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 anos atrás
pai
commit
ce90461cb3
1 arquivos alterados com 1 adições e 1 exclusões
  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;
         }
       }