Fix SVG resize issue for option_arrow.svg.

This commit is contained in:
Hanno Zulla 2018-06-12 16:42:30 +02:00
parent 46c274ebe4
commit d02fab8463

View file

@ -143,6 +143,9 @@ public:
mText.setHorizontalAlignment(ALIGN_CENTER); mText.setHorizontalAlignment(ALIGN_CENTER);
addChild(&mText); addChild(&mText);
mLeftArrow.setResize(0, mText.getFont()->getLetterHeight());
mRightArrow.setResize(0, mText.getFont()->getLetterHeight());
if(mMultiSelect) if(mMultiSelect)
{ {
mRightArrow.setImage(":/arrow.svg"); mRightArrow.setImage(":/arrow.svg");