From 504c5c4f5a3ad6d8c5d9f8b068bae78a641d6cd8 Mon Sep 17 00:00:00 2001 From: Dmytro Maslenko Date: Thu, 9 Feb 2023 17:59:54 -0800 Subject: [PATCH] Fix arrows size when expand/collapse a group Change ratio from 0.7 to 0.9 to give a more coherent look and feel to the tree. --- src/gui/styles/base/BaseStyle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/styles/base/BaseStyle.cpp b/src/gui/styles/base/BaseStyle.cpp index b74874bc1c..ae7a5de8bb 100644 --- a/src/gui/styles/base/BaseStyle.cpp +++ b/src/gui/styles/base/BaseStyle.cpp @@ -1049,7 +1049,7 @@ namespace Phantom // Expected time (release): 5usecs for regular-sized arrows Q_NEVER_INLINE void drawArrow(QPainter* p, QRect rect, Qt::ArrowType arrowDirection, const QBrush& brush) { - const qreal ArrowBaseRatio = 0.70; + const qreal ArrowBaseRatio = 0.9; qreal irx, iry, irw, irh; QRectF(rect).getRect(&irx, &iry, &irw, &irh); if (irw < 1.0 || irh < 1.0)