CComponentsSlider: fix vertical arrangement for slider body

Centering was broken.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 72cb72695f
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-12 (Sun, 12 Jan 2014)



------------------
This commit was generated by Migit
This commit is contained in:
2014-01-12 13:54:55 +01:00
parent 444acfe723
commit 5b58cbb5c8

View File

@@ -98,7 +98,7 @@ void CComponentsSlider::initCCSlBody()
{
if (!csl_body_icon.empty()){
if (csl_body_obj == NULL){
csl_body_obj = new CComponentsPicture(0, 0, 0, height, csl_body_icon);
csl_body_obj = new CComponentsPicture(0, 0, 0, 0, csl_body_icon);
csl_body_obj->doPaintBg(false);
addCCItem(csl_body_obj);
}