svx/source/dialog/srchdlg.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 4490a3c7b824e1b43f47a3a7c9fbcc109c0bb711
Author: Andras Timar <[email protected]>
AuthorDate: Sun Feb 15 11:17:01 2026 +0100
Commit: Andras Timar <[email protected]>
CommitDate: Mon Feb 16 09:42:44 2026 +0100
fix Find and Replace dialog overlap with gen backend
Resize the dialog after toggling Replace controls visibility,
since the VCL gen backend does not auto-resize the dialog when
widgets are shown/hidden (unlike GTK3).
Change-Id: If398416558c30f6346299d6312228d4fb435b8d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199398
Tested-by: Jenkins CollaboraOffice <[email protected]>
Reviewed-by: Andras Timar <[email protected]>
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index 73cc877f8e2d..f7d5599c4488 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -394,6 +394,8 @@ void SvxSearchDialog::SetReplaceCtrlsVisible(bool bVisible)
m_xReplaceFrame->set_visible(bVisible);
m_xReplaceBtn->set_visible(bVisible);
m_xReplaceAllBtn->set_visible(bVisible);
+
+ m_xDialog->resize_to_request();
}
void SvxSearchDialog::Construct_Impl()