sc/source/ui/miscdlgs/solveroptions.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f58b9659067de7fd8fcd8391b4bf1a2513cedaf7
Author:     Rafael Lima <rafael.palma.l...@gmail.com>
AuthorDate: Wed Mar 13 23:30:17 2024 +0100
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Sat Mar 16 22:48:50 2024 +0100

    tdf#160122 Increase height of the Solver Options dialog
    
    Currently the Solver Options dialog (Tools - Solver and then click the 
Options button) has a height of 6 rows, which is good for the Linear and Swarm 
non-linear solvers, since they have 4-5 options.
    
    However, the SCO and DEPS engines have 12 and 19 options, respectively, so 
it is very unconfortable to view and scroll through these options with such a 
small dialog.
    
    This patch raises the height of the dialog to 12, so that scrolling is 
minimized, making it more confortable to navigate through the solver options.
    
    Change-Id: I51c1c6880613818dd91c6bb8494775c863e8b406
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164749
    Tested-by: Jenkins
    Reviewed-by: Heiko Tietze <heiko.tie...@documentfoundation.org>
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

diff --git a/sc/source/ui/miscdlgs/solveroptions.cxx 
b/sc/source/ui/miscdlgs/solveroptions.cxx
index 3d5b2b47c178..81f5c8b7b4ce 100644
--- a/sc/source/ui/miscdlgs/solveroptions.cxx
+++ b/sc/source/ui/miscdlgs/solveroptions.cxx
@@ -69,7 +69,7 @@ ScSolverOptionsDialog::ScSolverOptionsDialog(weld::Window* 
pParent,
     , m_xBtnEdit(m_xBuilder->weld_button("edit"))
 {
     
m_xLbSettings->set_size_request(m_xLbSettings->get_approximate_digit_width() * 
32,
-                                    m_xLbSettings->get_height_rows(6));
+                                    m_xLbSettings->get_height_rows(12));
 
     m_xLbSettings->enable_toggle_buttons(weld::ColumnToggleType::Check);
 

Reply via email to