Merge pull request #453 from hzulla/feature/fix-optionlistcomponent-arrows

Fix SVG resize issue for option_arrow.svg
This commit is contained in:
John Rassa 2018-06-14 18:14:53 -04:00 committed by GitHub
commit 880064caa6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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