Fixed: Scale button height as needed based on text height

--HG--
branch : develop
This commit is contained in:
Nimetu 2018-10-20 19:07:32 +03:00
parent f4ef386ec9
commit 9aa52bc267

View file

@ -899,7 +899,7 @@ namespace NLGUI
} }
if (!(_SizeRef & 2)) if (!(_SizeRef & 2))
{ {
_H= _BmpH; _H= max(_BmpH, _ViewText->getH());
} }
CViewBase::updateCoords(); CViewBase::updateCoords();