mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-14 05:31:34 -05:00
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.
This commit is contained in:
parent
d362b51450
commit
0167ce60bd
@ -1051,7 +1051,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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user