1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix layout of friendrequest form

This commit is contained in:
sudden6 2016-02-25 14:40:48 +01:00
parent db4de96bcf
commit 033196c580

View File

@ -36,6 +36,7 @@
#include "src/widget/gui.h"
#include "src/widget/translator.h"
#include "src/widget/contentlayout.h"
#include "src/widget/tool/croppinglabel.h"
#include "src/net/toxme.h"
#include <QWindow>
#include <QScrollArea>
@ -277,7 +278,7 @@ void AddFriendForm::addFriendRequestWidget(const QString &friendAddress, const Q
horLayout->setMargin(0);
friendLayout->addLayout(horLayout);
QLabel* friendLabel = new QLabel(friendWidget);
CroppingLabel* friendLabel = new CroppingLabel(friendWidget);
friendLabel->setText("<b>" + friendAddress + "</b>");
horLayout->addWidget(friendLabel);