summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlhan Yesil <ilhanyesil@gmx.de>2020-11-10 18:22:39 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2021-03-03 18:46:02 +0100
commit21511280f9a376906a57dde082f899aa9f7b37a7 (patch)
treef2c70d3a837b2f92b955439779cdff553c92afcf
parent93b174047b3cc55ca54f962e08193c4c0c80d2a2 (diff)
tdf#138116 Accurate minimal height for wizard opened by extension
There is no way to set the minimum height by the UNO API. Therefore the requested size will be reduced. Change-Id: Ie657518a83ffb6873e4fd2a5640580b5198a38d2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105566 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> (cherry picked from commit 502da85432ed195213268272dda966fddc269716) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111887 Tested-by: Michael Weghorn <m.weghorn@posteo.de> Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
-rw-r--r--svtools/source/uno/wizard/wizardshell.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/uno/wizard/wizardshell.cxx b/svtools/source/uno/wizard/wizardshell.cxx
index 6d72a1219a50..addae913aa0f 100644
--- a/svtools/source/uno/wizard/wizardshell.cxx
+++ b/svtools/source/uno/wizard/wizardshell.cxx
@@ -175,7 +175,7 @@ namespace svt { namespace uno
: BuilderPage(pParent, pController, "svt/ui/emptypage.ui", "EmptyPage")
{
m_xContainer->set_size_request(m_xContainer->get_approximate_digit_width() * 70,
- m_xContainer->get_text_height() * 45);
+ m_xContainer->get_text_height() * 10);
}
weld::Container* GetContainer() const { return m_xContainer.get(); }
};