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

Fix qr label wordwrap

This commit is contained in:
Dubslow 2015-03-17 11:14:16 -05:00
parent 42fe29e83d
commit 9d5b77aa61
No known key found for this signature in database
GPG Key ID: 3DB8E05315C220AA
2 changed files with 3 additions and 1 deletions

View File

@ -81,6 +81,8 @@ ProfileForm::ProfileForm(QWidget *parent) :
toxIdGroup->replaceWidget(bodyUI->toxId, toxId);
bodyUI->toxId->hide();
bodyUI->qrLabel->setWordWrap(true);
profilePicture = new MaskablePixmapWidget(this, QSize(64, 64), ":/img/avatar_mask.svg");
profilePicture->setPixmap(QPixmap(":/img/contact_dark.png"));
profilePicture->setClickable(true);

View File

@ -122,7 +122,7 @@ Share it with your friends to communicate.</string>
<widget class="QFrame" name="horizontalFrame">
<layout class="QVBoxLayout" name="qrButtons">
<item alignment="Qt::AlignTop">
<widget class="QLabel" name="label">
<widget class="QLabel" name="qrLabel">
<property name="text">
<string>This QR code contains your Tox ID. You may share this with your friends as well.</string>
</property>