diff options
author | Heiko Tietze <tietze.heiko@gmail.com> | 2020-05-28 13:48:22 +0200 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2020-06-03 11:50:30 +0200 |
commit | 997a504f33bbd43c02a96a2a593a03e58bd3b72c (patch) | |
tree | 1f5f411fb438e60259fd70e90d39e331fcf8d9cd | |
parent | 868b0763ac47f765cb48c277897274a595b831d0 (diff) |
Resolves tdf#130936 - Proper Icon Size for MIME type Icon in Start Center
Icons are now in 48px
Change-Id: I484458adf047999bc2ea0cbf16e7ff3fff131eec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95028
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
-rw-r--r-- | sfx2/inc/bitmaps.hlst | 15 | ||||
-rw-r--r-- | sfx2/source/control/recentdocsview.cxx | 2 |
2 files changed, 9 insertions, 8 deletions
diff --git a/sfx2/inc/bitmaps.hlst b/sfx2/inc/bitmaps.hlst index 6ec00cd863de..7e97d1219996 100644 --- a/sfx2/inc/bitmaps.hlst +++ b/sfx2/inc/bitmaps.hlst @@ -67,13 +67,13 @@ #define SFX_THUMBNAIL_SHEET "res/ots_96_8.png" #define SFX_THUMBNAIL_PRESENTATION "res/otp_96_8.png" #define SFX_THUMBNAIL_DRAWING "res/otg_96_8.png" -#define SFX_FILE_THUMBNAIL_TEXT "res/writer128.png" -#define SFX_FILE_THUMBNAIL_SHEET "res/calc128.png" -#define SFX_FILE_THUMBNAIL_PRESENTATION "res/impress128.png" -#define SFX_FILE_THUMBNAIL_DRAWING "res/draw128.png" -#define SFX_FILE_THUMBNAIL_DATABASE "res/base128.png" -#define SFX_FILE_THUMBNAIL_MATH "res/math128.png" -#define SFX_FILE_THUMBNAIL_DEFAULT "res/main128.png" +#define SFX_FILE_THUMBNAIL_TEXT "res/odt_48_8.png" +#define SFX_FILE_THUMBNAIL_SHEET "res/ods_48_8.png" +#define SFX_FILE_THUMBNAIL_PRESENTATION "res/odp_48_8.png" +#define SFX_FILE_THUMBNAIL_DRAWING "res/odg_48_8.png" +#define SFX_FILE_THUMBNAIL_DATABASE "res/odb_48_8.png" +#define SFX_FILE_THUMBNAIL_MATH "res/odf_48_8.png" +#define SFX_FILE_THUMBNAIL_DEFAULT "res/mainapp_48_8.png" #define BMP_RECENTDOC_REMOVE "res/recentdoc_remove.png" #define BMP_RECENTDOC_REMOVE_HIGHLIGHTED "res/recentdoc_remove_highlighted.png" @@ -88,6 +88,7 @@ #define SFX_BMP_CLOSE_DOC "sfx2/res/closedoc.png" + #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx index 468c03b8b632..a5aae89acb7c 100644 --- a/sfx2/source/control/recentdocsview.cxx +++ b/sfx2/source/control/recentdocsview.cxx @@ -266,7 +266,7 @@ void RecentDocsView::Reload() Size aSize(aThumbnail.GetSizePixel()); m_pVirDev->SetOutputSizePixel(aSize); m_pVirDev->DrawBitmapEx(Point(), aThumbnail); - m_pVirDev->DrawBitmapEx(Point(aSize.Width()-50,aSize.Height()-50), Size(40,40), aModule); + m_pVirDev->DrawBitmapEx(Point(aSize.Width()-53,aSize.Height()-53), Size(48, 48), aModule); aThumbnail = m_pVirDev->GetBitmapEx(Point(), aSize); m_pVirDev.disposeAndClear(); } |