some fixes for fader background for fancy GUI

This commit is contained in:
Volker Fischer 2009-09-19 15:59:00 +00:00
parent abb6051d00
commit f82724743f
2 changed files with 5 additions and 5 deletions

View File

@ -103,12 +103,12 @@ void CChannelFader::SetGUIDesign ( const EGUIDesign eNewDesign )
case GD_ORIGINAL: case GD_ORIGINAL:
// fader // fader
pFader->setStyleSheet ( pFader->setStyleSheet (
"QSlider { border-image: url(:/png/fader/res/faderbackground.png) 4px 4px 0px 0px;" "QSlider { width: 39px;"
" border-top: 4px transparent;" " border-image: url(:/png/fader/res/faderbackground.png) 10px 0px 10px 0px repeat;"
" border-bottom: 4px transparent;" " border-top: 10px transparent;"
" border-bottom: 10px transparent;"
" border-left: 0px transparent;" " border-left: 0px transparent;"
" border-right: 0px transparent;" " border-right: 0px transparent; }"
" width: 39px; }"
"QSlider::groove { image: url(); }" "QSlider::groove { image: url(); }"
"QSlider::handle { image: url(:/png/fader/res/faderhandle.png); }" ); "QSlider::handle { image: url(:/png/fader/res/faderhandle.png); }" );

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB