CComponentsInfoBox: fix scale height for larger picons

Origin commit data
------------------
Branch: ni/coolstream
Commit: a9c474e486
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-28 (Wed, 28 Jan 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2015-01-28 21:16:58 +01:00
parent da075eeaeb
commit 613869c997

View File

@@ -105,7 +105,7 @@ void CComponentsInfoBox::paintPicture()
return;
//init pic object and set icon paint position
pic = new CComponentsPicture(x+fr_thickness+x_offset, y+fr_thickness, 0, height-2*fr_thickness, pic_name); //NOTE: icons do not scale!
pic = new CComponentsPicture(x+fr_thickness+x_offset, y+fr_thickness, 0, min(48, height-2*fr_thickness), pic_name); //NOTE: icons do not scale!
pic->setColorBody(col_body);