diff --git a/debian/changelog b/debian/changelog index d6fbf96..0b956b6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ lxqt-sudo (0.13.0-0ubuntu2) UNRELEASED; urgency=medium * Change Uploaders to Ubuntu uploaders. * Bump Standards-version to 4.2.0, no changes needed. * Run wrap-and-sort. + * Fix the layout and line break so text isn't cut off. -- Simon Quigley Mon, 20 Aug 2018 23:41:01 -0500 diff --git a/debian/patches/fix-layout-line-break.patch b/debian/patches/fix-layout-line-break.patch new file mode 100644 index 0000000..d8e2a8c --- /dev/null +++ b/debian/patches/fix-layout-line-break.patch @@ -0,0 +1,46 @@ +Description: Fix the layout and line break + In some cases, text was being cut off from the prompt and was not visible. +Author: Tsu Jan +Origin: upstream +Bug: https://github.com/lxqt/lxqt/issues/1505 +Applied-Upstream: commit:01c23a5 +Last-Update: 2018-08-20 +--- a/passworddialog.cpp ++++ b/passworddialog.cpp +@@ -41,7 +41,7 @@ PasswordDialog::PasswordDialog(QStringLi + QString cmd; + if (0 < argv.size()) + cmd = argv[0]; +- ui->descriptionL->setText(tr("%1 needs administrative privileges.\nPlease enter your password.").arg(cmd)); ++ ui->descriptionL->setText(tr("%1 needs administrative privileges.
Please enter your password.").arg(cmd)); + ui->iconL->setPixmap(QIcon::fromTheme("dialog-password").pixmap(64, 64)); + setWindowIcon(QIcon::fromTheme("security-high")); + } +--- a/passworddialog.ui ++++ b/passworddialog.ui +@@ -10,12 +10,6 @@ + 200 + + +- +- +- 0 +- 0 +- +- + + LXQt sudo + +@@ -31,6 +25,12 @@ + + + ++ ++ ++ 0 ++ 0 ++ ++ + + + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..4eb4849 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +fix-layout-line-break.patch