summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorHeiko Tietze <tietze.heiko@gmail.com>2021-03-30 11:26:59 +0200
committerRizal Muttaqin <rizmut@libreoffice.org>2021-03-30 16:43:31 +0200
commitd5533669000078bef46f353c99f4fda2c8476a39 (patch)
tree86f1a2c00507eff278109d15ff9b56f380e6640d /cui
parent1a1d2ad0e2dff2c948e09e1488cbd8f8ea651bec (diff)
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 <rizmut@libreoffice.org>
Diffstat (limited to 'cui')
-rw-r--r--cui/inc/tipoftheday.hrc2
-rw-r--r--cui/source/dialogs/tipofthedaydlg.cxx2
2 files changed, 2 insertions, 2 deletions
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<const char*, OUString, OUString> 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 <com/sun/star/beans/PropertyValue.hpp>
//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")