diff options
author | Gülşah Köse <gulsah.kose@collabora.com> | 2019-11-01 00:11:49 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2019-11-01 10:52:58 +0100 |
commit | def1e51dc36e2042a50bea48e7fa15db9560d09b (patch) | |
tree | 32b31149e5778a5bae31f90d0e96c5eca141acd7 /sfx2 | |
parent | 834fb2bf399d2fb1f2ab6f7a3f39c02b37744104 (diff) |
tdf#126128 Reduce page properties dialog's height.
Change-Id: I421be7684668c4cab2ddda5f67adcfccaf34729d
Reviewed-on: https://gerrit.libreoffice.org/81865
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/dialoghelper.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sfx2/source/dialog/dialoghelper.cxx b/sfx2/source/dialog/dialoghelper.cxx index a0d9fa36ccd9..56d55690035f 100644 --- a/sfx2/source/dialog/dialoghelper.cxx +++ b/sfx2/source/dialog/dialoghelper.cxx @@ -34,6 +34,12 @@ Size getPreviewOptionsSize(const vcl::Window *pReference) return pReference->LogicToPixel(Size(70 , 27), MapMode(MapUnit::MapAppFont)); } +Size getPagePropertiesOptimalSize(const vcl::Window *pReference) +{ + return pReference->LogicToPixel(Size(88, 120), MapMode(MapUnit::MapAppFont)); +} + + OUString getWidestTime(const LocaleDataWrapper& rWrapper) { Date aDate(22, 12, 2000); |