[Libreoffice-commits] core.git: vcl/source
Heiko Tietze (via logerrit)
logerrit at kemper.freedesktop.org
Tue Feb 25 15:24:43 UTC 2020
vcl/source/window/printdlg.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit b268715912d4c2034b9b9d38e75446bef7bbb11f
Author: Heiko Tietze <tietze.heiko at gmail.com>
AuthorDate: Tue Feb 25 11:58:02 2020 +0100
Commit: Heiko Tietze <heiko.tietze at documentfoundation.org>
CommitDate: Tue Feb 25 16:24:08 2020 +0100
Resolves tdf#127782 - New Print dialog is too high
Amends Iea41f9cf335b75210de0acf5688fddd5e3dd3dbb
Change-Id: Ic669332245ad9c5ee6366765da8a5bc632dd159c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89423
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze at documentfoundation.org>
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index ad54af15ce7e..614b8d4eaf13 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -147,8 +147,8 @@ void PrintDialog::PrintPreviewWindow::Resize()
void PrintDialog::PrintPreviewWindow::SetDrawingArea(weld::DrawingArea* pDrawingArea)
{
- pDrawingArea->set_size_request(pDrawingArea->get_approximate_digit_width() * 55,
- pDrawingArea->get_text_height() * 40);
+ pDrawingArea->set_size_request(pDrawingArea->get_approximate_digit_width() * 45,
+ pDrawingArea->get_text_height() * 30);
CustomWidgetController::SetDrawingArea(pDrawingArea);
}
More information about the Libreoffice-commits
mailing list