The preferences menu should never be larger than the screen (LP: #1784198).

ubuntu/cosmic
Simon Quigley 6 years ago
parent 1c3b18ff91
commit 661611c754

6
debian/changelog vendored

@ -1,3 +1,9 @@
qterminal (0.9.0-3ubuntu3) UNRELEASED; urgency=medium
* The preferences menu should never be larger than the screen (LP: #1784198).
-- Simon Quigley <tsimonq2@ubuntu.com> Sun, 29 Jul 2018 15:03:10 -0500
qterminal (0.9.0-3ubuntu2) cosmic; urgency=medium
* Remember the maximization state of the window (LP: #1754496).

@ -0,0 +1,18 @@
Description: Smaller settings dialog
Author: Tsu Jan <tsujan2000@gmail.com>
Origin: upstream
Bug: https://github.com/lxqt/qterminal/issues/412
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1784198
Applied-Upstream: commit:9f82b04
Last-Update: 2018-07-29
--- a/src/propertiesdialog.cpp
+++ b/src/propertiesdialog.cpp
@@ -180,6 +180,8 @@ PropertiesDialog::PropertiesDialog(QWidg
trimPastedTrailingNewlinesCheckBox->setChecked(Properties::Instance()->trimPastedTrailingNewlines);
confirmMultilinePasteCheckBox->setChecked(Properties::Instance()->confirmMultilinePaste);
+
+ resize(sizeHint()); // show it compact but not too much
}

@ -1,3 +1,4 @@
appdata.patch
fix-memory-api.patch
remember-window-maximization-state.patch
fix-too-large-settings-dialog.patch

Loading…
Cancel
Save