diff options
author | Heiko Tietze <tietze.heiko@gmail.com> | 2024-12-18 08:22:21 +0100 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2024-12-18 11:49:34 +0100 |
commit | 872945ecec6cabac691b036676d3dfe81f240948 (patch) | |
tree | c909c3856cb8b9d43d2b1d268d2cd38cccaf874a /dbaccess/source | |
parent | ea604324bb2a26ac96b5c190121579b602ebffd2 (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
Diffstat (limited to 'dbaccess/source')
-rw-r--r-- | dbaccess/source/ui/dlg/directsql.cxx | 1 |
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(); |