summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorGülşah Köse <gulsah.kose@collabora.com>2019-11-01 20:33:09 +0300
committerAndras Timar <andras.timar@collabora.com>2019-11-01 22:59:52 +0100
commit80109586e6cb6d3e2e0a53a9079c3125ec9b8368 (patch)
tree0aa3aa8fcbc6285313e6d708a18a10568be56d93 /sfx2
parent9495b7c935097a7f18896b3835e3a8cc6b0db2ce (diff)
tdf#126128 Reduce page properties dialog's height.
Change-Id: Ie35c9cb4c9b134a94f3a125dd800936b7160950c Reviewed-on: https://gerrit.libreoffice.org/81910 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/dialoghelper.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sfx2/source/dialog/dialoghelper.cxx b/sfx2/source/dialog/dialoghelper.cxx
index 4c7d63e23e0e..4a810a386f1c 100644
--- a/sfx2/source/dialog/dialoghelper.cxx
+++ b/sfx2/source/dialog/dialoghelper.cxx
@@ -35,6 +35,11 @@ Size getPreviewOptionsSize(const OutputDevice& rReference)
return rReference.LogicToPixel(Size(70 , 27), MapMode(MapUnit::MapAppFont));
}
+Size getPagePropertiesOptimalSize(const OutputDevice& rReference)
+{
+ return rReference.LogicToPixel(Size(88, 120), MapMode(MapUnit::MapAppFont));
+}
+
OUString getWidestTime(const LocaleDataWrapper& rWrapper)
{
Date aDate(22, 12, 2000);