From d02fab8463f7e1f6a067bc11604e5443376ff2b4 Mon Sep 17 00:00:00 2001 From: Hanno Zulla Date: Tue, 12 Jun 2018 16:42:30 +0200 Subject: [PATCH] Fix SVG resize issue for option_arrow.svg. --- es-core/src/components/OptionListComponent.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/es-core/src/components/OptionListComponent.h b/es-core/src/components/OptionListComponent.h index 7a4bf72c3..dd630f5bf 100644 --- a/es-core/src/components/OptionListComponent.h +++ b/es-core/src/components/OptionListComponent.h @@ -143,6 +143,9 @@ public: mText.setHorizontalAlignment(ALIGN_CENTER); addChild(&mText); + mLeftArrow.setResize(0, mText.getFont()->getLetterHeight()); + mRightArrow.setResize(0, mText.getFont()->getLetterHeight()); + if(mMultiSelect) { mRightArrow.setImage(":/arrow.svg");