diff options
author | Ilhan Yesil <ilhanyesil@gmx.de> | 2020-11-10 18:22:39 +0100 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2020-11-16 15:57:45 +0100 |
commit | 502da85432ed195213268272dda966fddc269716 (patch) | |
tree | 6032f9da99988e04e46341f834b024b8c6384764 /svtools | |
parent | 99f4e625cdd6384291ccde1f68dca73ced43edfb (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>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/uno/wizard/wizardshell.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/uno/wizard/wizardshell.cxx b/svtools/source/uno/wizard/wizardshell.cxx index 7876e62ac65f..7c946f0cf34f 100644 --- a/svtools/source/uno/wizard/wizardshell.cxx +++ b/svtools/source/uno/wizard/wizardshell.cxx @@ -175,7 +175,7 @@ namespace svt::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(); } }; |