From 72cb72695f57707e10844c320045466b7d3f848e Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 12 Jan 2014 13:54:55 +0100 Subject: [PATCH] CComponentsSlider: fix vertical arrangement for slider body Centering was broken. --- src/gui/components/cc_frm_slider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_frm_slider.cpp b/src/gui/components/cc_frm_slider.cpp index 69934b114..f61b37fa6 100644 --- a/src/gui/components/cc_frm_slider.cpp +++ b/src/gui/components/cc_frm_slider.cpp @@ -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); }