Browse Source

Change arrows to point right when closed, down when open

The collapsible button arrows are now more conventional in their
indication of the open/closed state of the box.
Steve Pieper 14 years ago
parent
commit
952d5dc9de
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Libs/Widgets/ctkCollapsibleButton.cpp

+ 2 - 2
Libs/Widgets/ctkCollapsibleButton.cpp

@@ -565,11 +565,11 @@ void ctkCollapsibleButton::paintEvent(QPaintEvent * _event)
     }
   if (d->Collapsed)
     {
-    style()->drawPrimitive(QStyle::PE_IndicatorArrowDown, &indicatorOpt, &p, this);
+    style()->drawPrimitive(QStyle::PE_IndicatorArrowRight, &indicatorOpt, &p, this);
     }
   else
     {
-    style()->drawPrimitive(QStyle::PE_IndicatorArrowUp, &indicatorOpt, &p, this);
+    style()->drawPrimitive(QStyle::PE_IndicatorArrowDown, &indicatorOpt, &p, this);
     }
 
   // Draw Text