dbaccess/source/ui/dlg/directsql.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 872945ecec6cabac691b036676d3dfe81f240948
Author:     Heiko Tietze <[email protected]>
AuthorDate: Wed Dec 18 08:22:21 2024 +0100
Commit:     Heiko Tietze <[email protected]>
CommitDate: Wed Dec 18 11:49:34 2024 +0100

    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 <[email protected]>
    Tested-by: Jenkins

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();
 

Reply via email to