[Libreoffice-commits] core.git: cui/inc cui/source

Heiko Tietze (via logerrit) logerrit at kemper.freedesktop.org
Tue Mar 30 14:44:13 UTC 2021


 cui/inc/tipoftheday.hrc               |    2 +-
 cui/source/dialogs/tipofthedaydlg.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d5533669000078bef46f353c99f4fda2c8476a39
Author:     Heiko Tietze <tietze.heiko at gmail.com>
AuthorDate: Tue Mar 30 11:26:59 2021 +0200
Commit:     Rizal Muttaqin <rizmut at libreoffice.org>
CommitDate: Tue Mar 30 16:43:31 2021 +0200

    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 at libreoffice.org>

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")


More information about the Libreoffice-commits mailing list