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:
parent
42fe29e83d
commit
9d5b77aa61
|
@ -81,6 +81,8 @@ ProfileForm::ProfileForm(QWidget *parent) :
|
||||||
toxIdGroup->replaceWidget(bodyUI->toxId, toxId);
|
toxIdGroup->replaceWidget(bodyUI->toxId, toxId);
|
||||||
bodyUI->toxId->hide();
|
bodyUI->toxId->hide();
|
||||||
|
|
||||||
|
bodyUI->qrLabel->setWordWrap(true);
|
||||||
|
|
||||||
profilePicture = new MaskablePixmapWidget(this, QSize(64, 64), ":/img/avatar_mask.svg");
|
profilePicture = new MaskablePixmapWidget(this, QSize(64, 64), ":/img/avatar_mask.svg");
|
||||||
profilePicture->setPixmap(QPixmap(":/img/contact_dark.png"));
|
profilePicture->setPixmap(QPixmap(":/img/contact_dark.png"));
|
||||||
profilePicture->setClickable(true);
|
profilePicture->setClickable(true);
|
||||||
|
|
|
@ -122,7 +122,7 @@ Share it with your friends to communicate.</string>
|
||||||
<widget class="QFrame" name="horizontalFrame">
|
<widget class="QFrame" name="horizontalFrame">
|
||||||
<layout class="QVBoxLayout" name="qrButtons">
|
<layout class="QVBoxLayout" name="qrButtons">
|
||||||
<item alignment="Qt::AlignTop">
|
<item alignment="Qt::AlignTop">
|
||||||
<widget class="QLabel" name="label">
|
<widget class="QLabel" name="qrLabel">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>This QR code contains your Tox ID. You may share this with your friends as well.</string>
|
<string>This QR code contains your Tox ID. You may share this with your friends as well.</string>
|
||||||
</property>
|
</property>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user