summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Tietze <tietze.heiko@gmail.com>2024-12-18 08:22:21 +0100
committerHeiko Tietze <heiko.tietze@documentfoundation.org>2024-12-18 13:13:41 +0100
commitf40d227d4a64d5a9057248293d99cdddd95c6020 (patch)
tree87bca444aa94b7d649ce8c69de0ec3ca72a4ba3d
parentc065a56b71f1133a0d8860c96d86929352273a49 (diff)
Resolves tdf#140298 - SQL dialog must not become oversized
SQL history becomes quickly too large for the dropdown control The patch sets a fixed width so this control wont take over the dialog size. Change-Id: I106ae19dfd505388e5b528becbc06e9d6110d45d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178702 Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Tested-by: Jenkins (cherry picked from commit 872945ecec6cabac691b036676d3dfe81f240948) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178719
-rw-r--r--dbaccess/source/ui/dlg/directsql.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbaccess/source/ui/dlg/directsql.cxx b/dbaccess/source/ui/dlg/directsql.cxx
index 1ba69167baa1..97ae2046983e 100644
--- a/dbaccess/source/ui/dlg/directsql.cxx
+++ b/dbaccess/source/ui/dlg/directsql.cxx
@@ -80,6 +80,7 @@ namespace dbaui
m_xSQLEd->set_size_request(nWidth, nHeight);
m_xStatus->set_size_request(-1, nHeight);
m_xOutput->set_size_request(-1, nHeight);
+ m_xSQLHistory->set_size_request(nWidth, -1);
m_xSQL->GrabFocus();