Skip to content

Commit

Permalink
Fix arrows size when expand/collapse a group
Browse files Browse the repository at this point in the history
Change ratio from 0.7 to 0.9 to give a more coherent look and feel to the tree.
  • Loading branch information
dmaslenko authored and droidmonkey committed Feb 13, 2023
1 parent 20e8e52 commit 504c5c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/styles/base/BaseStyle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 504c5c4

Please sign in to comment.