1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
This commit is contained in:
krepa098 2014-08-18 10:58:51 +02:00
parent eefa8d8ae6
commit 7e67078187
2 changed files with 2 additions and 4 deletions

View File

@ -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);

View File

@ -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;