mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(widget): Fix status pic alignment
This commit is contained in:
parent
b48df03ede
commit
d9118cfc71
@ -377,7 +377,7 @@ void FriendWidget::updateStatusLight()
|
||||
Widget::getInstance()->updateFriendActivity(frnd);
|
||||
}
|
||||
|
||||
statusPic.setMargin(event ? 0 : 3);
|
||||
statusPic.setMargin(event ? 1 : 3);
|
||||
}
|
||||
|
||||
QString FriendWidget::getStatusString() const
|
||||
|
@ -183,7 +183,7 @@ void GroupWidget::updateStatusLight()
|
||||
statusPic.setMargin(3);
|
||||
} else {
|
||||
statusPic.setPixmap(QPixmap(":img/status/online_notification.svg"));
|
||||
statusPic.setMargin(0);
|
||||
statusPic.setMargin(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user