summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorSusobhan Ghosh <susobhang70@gmail.com>2016-08-12 02:02:00 +0530
committerYousuf Philips <philipz85@hotmail.com>2016-08-12 09:22:00 +0000
commit66636aeb7d2a6da8f409d17610f62be875e9bb64 (patch)
tree77323136889040fb130ebc7a3e91281a7aef0731 /svx
parent91f58f4782e1c97f4f88937512ea80966175f2c8 (diff)
Tweak pagesize listbox Optimal size
Change-Id: Ic46962f69ed846d0322756a1a3ac18ea9da6b90a Reviewed-on: https://gerrit.libreoffice.org/28065 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/papersizelistbox.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/svx/source/dialog/papersizelistbox.cxx b/svx/source/dialog/papersizelistbox.cxx
index ded286865bb9..30dbf0ed0fc3 100644
--- a/svx/source/dialog/papersizelistbox.cxx
+++ b/svx/source/dialog/papersizelistbox.cxx
@@ -78,5 +78,10 @@ Paper PaperSizeListBox::GetSelection() const
return ePaper;
}
+
+Size PaperSizeListBox::GetOptimalSize() const
+{
+ return Size(150, ListBox::GetOptimalSize().Height());
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */