From ab991c575537dbf7eb2c681687349a6cb80da2c9 Mon Sep 17 00:00:00 2001 From: mgr Date: Tue, 25 Sep 2018 23:18:45 +0200 Subject: [PATCH] Preferences > SQL: Avoid different heights due to having check boxes or not The uniform row heights property is set so the rows without check boxes is the same as the rows with them (the difference might only be observable with some theme engines) --- src/PreferencesDialog.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/PreferencesDialog.cpp b/src/PreferencesDialog.cpp index cbe5fd9d..c0f378e3 100644 --- a/src/PreferencesDialog.cpp +++ b/src/PreferencesDialog.cpp @@ -40,6 +40,9 @@ PreferencesDialog::PreferencesDialog(QWidget* parent) #endif loadSettings(); + + // Avoid different heights due to having check boxes or not + ui->treeSyntaxHighlighting->setUniformRowHeights(true); } /*