浏览代码

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 年之前
父节点
当前提交
ce90461cb3
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
         }
       }