mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
CComponentsSlider: fix vertical arrangement for slider body
Centering was broken.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user