mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04: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
20e8e524a5
commit
b4be71d967
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user