mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user