diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-08-10 14:07:03 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-08-12 12:18:54 +0000 |
commit | c89b8ab187f23020873af00f2c20cc9407e5a755 (patch) | |
tree | 0cad26620cdc11a206c74b8df047a000cb115148 /svx/source/dialog/pagenumberlistbox.cxx | |
parent | 8d26a169794083f047a57e5c8d3f5da0aaab2583 (diff) |
Tweak numbering listbox optimal size
Change-Id: I7dedd5bc405da04a14bc7d74475c85a90e989e9c
Reviewed-on: https://gerrit.libreoffice.org/28021
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'svx/source/dialog/pagenumberlistbox.cxx')
-rw-r--r-- | svx/source/dialog/pagenumberlistbox.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/svx/source/dialog/pagenumberlistbox.cxx b/svx/source/dialog/pagenumberlistbox.cxx index 46c13d4fa281..0101b34217c5 100644 --- a/svx/source/dialog/pagenumberlistbox.cxx +++ b/svx/source/dialog/pagenumberlistbox.cxx @@ -66,4 +66,9 @@ sal_uInt16 PageNumberListBox::GetSelection() const return nData; } +Size PageNumberListBox::GetOptimalSize() const +{ + return Size(150, ListBox::GetOptimalSize().Height()); +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |