mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
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:
@@ -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