CComponentsSlider: fix vertical arrangement for slider body

Centering was broken.
This commit is contained in:
2014-01-12 13:54:55 +01:00
parent f6d7352dca
commit 72cb72695f

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);
}