From d5533669000078bef46f353c99f4fda2c8476a39 Mon Sep 17 00:00:00 2001 From: Heiko Tietze Date: Tue, 30 Mar 2021 11:26:59 +0200 Subject: tdf#140839 - TotD image size Previous size of 100x120 has shown to be too small for thumbnails so we agreed on 150x150 Change-Id: Ia43bc424a164024e8a4ecf851cad3fab4f342e67 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113343 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin --- cui/inc/tipoftheday.hrc | 2 +- cui/source/dialogs/tipofthedaydlg.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cui') diff --git a/cui/inc/tipoftheday.hrc b/cui/inc/tipoftheday.hrc index 107e39cf803f..401ff2c4907a 100644 --- a/cui/inc/tipoftheday.hrc +++ b/cui/inc/tipoftheday.hrc @@ -41,7 +41,7 @@ * image: * leave the image string empty for the default tipoftheday.png * place new images at extra/source/tipoftheday and do not forget to add the files to vcl/Package_tipoftheday.mk - * do not exceed 100x120px too much - images do not get scaled + * images are scaled to 150x150px; const ThumbSize() in tipoftheday.cxx */ const std::tuple TIPOFTHEDAY_STRINGARRAY[] = diff --git a/cui/source/dialogs/tipofthedaydlg.cxx b/cui/source/dialogs/tipofthedaydlg.cxx index 478780578b56..9d43fd21f4ba 100644 --- a/cui/source/dialogs/tipofthedaydlg.cxx +++ b/cui/source/dialogs/tipofthedaydlg.cxx @@ -43,7 +43,7 @@ #include //size of preview -const Size ThumbSize(100, 120); +const Size ThumbSize(150, 150); TipOfTheDayDialog::TipOfTheDayDialog(weld::Window* pParent) : GenericDialogController(pParent, "cui/ui/tipofthedaydialog.ui", "TipOfTheDayDialog") -- cgit