summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-10-23 14:44:40 +0300
committerTor Lillqvist <tml@collabora.com>2019-10-23 13:54:30 +0200
commit89a620a7dfdd3b881a620568b82ef68e96b51c92 (patch)
treecc0f89c57a788ab3a5faf4220aa3f4ba617a5b8b
parenta2fea518f66390f316a0b52cae4f64dfd1cbd9f4 (diff)
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>
-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 c420ba89bd78..a1ddf8de0cbc 100644
--- a/sfx2/inc/bitmaps.hlst
+++ b/sfx2/inc/bitmaps.hlst
@@ -36,6 +36,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 315bf057d21c..6e6957a805bc 100644
--- a/sfx2/source/sidebar/Theme.cxx
+++ b/sfx2/source/sidebar/Theme.cxx
@@ -291,9 +291,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")));