CComponentsSlider: fix vertical arrangement for slider body

Centering was broken.


Origin commit data
------------------
Commit: 72cb72695f
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-12 (Sun, 12 Jan 2014)
This commit is contained in:
2014-01-12 13:54:55 +01:00
parent 01e77944df
commit 39306fc99e

View File

@@ -98,7 +98,7 @@ void CComponentsSlider::initCCSlBody()
{ {
if (!csl_body_icon.empty()){ if (!csl_body_icon.empty()){
if (csl_body_obj == NULL){ 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); csl_body_obj->doPaintBg(false);
addCCItem(csl_body_obj); addCCItem(csl_body_obj);
} }