mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix issue #184
This commit is contained in:
parent
eefa8d8ae6
commit
7e67078187
|
@ -53,8 +53,6 @@ FriendWidget::FriendWidget(int FriendId, QString id)
|
||||||
pal3.setColor(QPalette::Background, QColor(65,65,65,255));
|
pal3.setColor(QPalette::Background, QColor(65,65,65,255));
|
||||||
this->setPalette(pal3);
|
this->setPalette(pal3);
|
||||||
|
|
||||||
name.setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
|
|
||||||
|
|
||||||
textLayout.addStretch();
|
textLayout.addStretch();
|
||||||
textLayout.addWidget(&name);
|
textLayout.addWidget(&name);
|
||||||
textLayout.addWidget(&statusMessage);
|
textLayout.addWidget(&statusMessage);
|
||||||
|
|
|
@ -44,8 +44,8 @@ signals:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
int friendId;
|
int friendId;
|
||||||
QLabel avatar, name, statusPic;
|
QLabel avatar, statusPic;
|
||||||
CroppingLabel statusMessage;
|
CroppingLabel name, statusMessage;
|
||||||
QHBoxLayout layout;
|
QHBoxLayout layout;
|
||||||
QVBoxLayout textLayout;
|
QVBoxLayout textLayout;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user