summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-10-23 14:44:40 +0300
committerMichael Meeks <michael.meeks@collabora.com>2020-05-16 19:11:29 +0100
commit7f65f83a46873523aba1e5e36f9500c43c13c7a5 (patch)
treebb4839f4bfd9a2944386ad5e8ec9cb7d5516b0c9
parentsd: for_each -> range-for (diff)
downloadcore-7f65f83a46873523aba1e5e36f9500c43c13c7a5.tar.gz
core-7f65f83a46873523aba1e5e36f9500c43c13c7a5.zip
tdf#127878: Use a larger "morebutton" image on iOS
Change-Id: Ifbd1b92a6921f7a283c3a7e288fbf05fbc2453eb Reviewed-on: https://gerrit.libreoffice.org/81379 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> (cherry picked from commit 89a620a7dfdd3b881a620568b82ef68e96b51c92) Reviewed-on: https://gerrit.libreoffice.org/83659 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
-rw-r--r--icon-themes/colibre/sfx2/res/symphony/morebutton-large.pngbin0 -> 513 bytes
-rw-r--r--sfx2/inc/bitmaps.hlst1
-rw-r--r--sfx2/source/sidebar/Theme.cxx6
3 files changed, 7 insertions, 0 deletions
diff --git a/icon-themes/colibre/sfx2/res/symphony/morebutton-large.png b/icon-themes/colibre/sfx2/res/symphony/morebutton-large.png
new file mode 100644
index 000000000000..550d511c96f4
--- /dev/null
+++ b/icon-themes/colibre/sfx2/res/symphony/morebutton-large.png
Binary files differ
diff --git a/sfx2/inc/bitmaps.hlst b/sfx2/inc/bitmaps.hlst
index 9dbdfb4da5d4..b97a6c813aeb 100644
--- a/sfx2/inc/bitmaps.hlst
+++ b/sfx2/inc/bitmaps.hlst
@@ -37,6 +37,7 @@
#define GRIP "sfx2/res/grip.png"
#define OPEN_MORE "sfx2/res/symphony/open_more.png"
#define MOREBUTTON "sfx2/res/symphony/morebutton.png"
+#define MOREBUTTON_LARGE "sfx2/res/symphony/morebutton-large.png"
#define SIDEBAR_3D_LARGE "sfx2/res/symphony/sidebar-3d-large.png"
#define SIDEBAR_3D_SMALL "sfx2/res/symphony/sidebar-3d-small.png"
#define SIDEBAR_ANIMATION_LARGE "sfx2/res/symphony/sidebar-animation-large.png"
diff --git a/sfx2/source/sidebar/Theme.cxx b/sfx2/source/sidebar/Theme.cxx
index 90ab20e46f15..666ce34280a3 100644
--- a/sfx2/source/sidebar/Theme.cxx
+++ b/sfx2/source/sidebar/Theme.cxx
@@ -294,9 +294,15 @@ void Theme::UpdateTheme()
setPropertyValue(
maPropertyIdToNameMap[Image_TabBarMenu],
Any(OUString("private:graphicrepository/sfx2/res/symphony/open_more.png")));
+#ifdef IOS
+ setPropertyValue(
+ maPropertyIdToNameMap[Image_PanelMenu],
+ Any(OUString("private:graphicrepository/sfx2/res/symphony/morebutton-large.png")));
+#else
setPropertyValue(
maPropertyIdToNameMap[Image_PanelMenu],
Any(OUString("private:graphicrepository/sfx2/res/symphony/morebutton.png")));
+#endif
setPropertyValue(
maPropertyIdToNameMap[Image_Closer],
Any(OUString("private:graphicrepository/sfx2/res/closedoc.png")));