CVolumeBar: fix icon postion

Icon was not centered in y position.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8a1965fcca
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-06 (Thu, 06 Nov 2014)



------------------
This commit was generated by Migit
This commit is contained in:
2014-11-06 17:02:00 +01:00
parent 9c73fdcad1
commit c05bb7d301

View File

@@ -173,7 +173,7 @@ void CVolumeBar::initVolumeBarItems()
//init current icon object
void CVolumeBar::initVolumeBarIcon()
{
vb_icon = new CComponentsPicture(vb_icon_x, 0, vb_icon_w, height, NEUTRINO_ICON_VOLUME);
vb_icon = new CComponentsPicture(vb_icon_x, CC_CENTERED, vb_icon_w, height, NEUTRINO_ICON_VOLUME);
vb_icon->setColorBody(col_body);
vb_icon->setCorner(cornerRad(), CORNER_LEFT);