From: Markus Goetz Date: Mon, 8 May 2017 18:57:18 +0000 (+0200) Subject: Sharing: Fix UI glitch when sharing is disabled X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~740 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8da7919a4375990c69569c56de5a17ff1464ded4;p=nextcloud-desktop.git Sharing: Fix UI glitch when sharing is disabled --- diff --git a/src/gui/sharedialog.cpp b/src/gui/sharedialog.cpp index 5c5e6ff13..a2bd34a37 100644 --- a/src/gui/sharedialog.cpp +++ b/src/gui/sharedialog.cpp @@ -172,6 +172,7 @@ void ShareDialog::showSharingUi() if (!canReshare) { auto label = new QLabel(this); label->setText(tr("The file can not be shared because it was shared without sharing permission.")); + label->setWordWrap(true); layout()->replaceWidget(_ui->shareWidgets, label); return; }