From c05bb7d301e8fbc4acae49299dcf78c795510f77 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 6 Nov 2014 17:02:00 +0100 Subject: [PATCH] CVolumeBar: fix icon postion Icon was not centered in y position. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/8a1965fcca6974dcdf6e4707e3db18a81cfaf7c8 Author: Thilo Graf Date: 2014-11-06 (Thu, 06 Nov 2014) ------------------ This commit was generated by Migit --- src/gui/volumebar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/volumebar.cpp b/src/gui/volumebar.cpp index bed085121..b1445c5b2 100644 --- a/src/gui/volumebar.cpp +++ b/src/gui/volumebar.cpp @@ -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);