fader slider style fix so that it looks ok on Windows and MacOS
This commit is contained in:
parent
611a94e9da
commit
b1741eef35
1 changed files with 5 additions and 4 deletions
|
@ -108,13 +108,14 @@ void CChannelFader::SetGUIDesign ( const EGUIDesign eNewDesign )
|
||||||
case GD_ORIGINAL:
|
case GD_ORIGINAL:
|
||||||
// fader
|
// fader
|
||||||
pFader->setStyleSheet (
|
pFader->setStyleSheet (
|
||||||
"QSlider { width: 30px;"
|
"QSlider { width: 45px;"
|
||||||
" border-image: url(:/png/fader/res/faderbackground.png) 10px 0px 10px 0px repeat;"
|
" border-image: url(:/png/fader/res/faderbackground.png) repeat;"
|
||||||
" border-top: 10px transparent;"
|
" border-top: 10px transparent;"
|
||||||
" border-bottom: 10px transparent;"
|
" border-bottom: 10px transparent;"
|
||||||
" border-left: 0px transparent;"
|
" border-left: 20px transparent;"
|
||||||
" border-right: 0px transparent; }"
|
" border-right: -25px transparent; }"
|
||||||
"QSlider::groove { image: url();"
|
"QSlider::groove { image: url();"
|
||||||
|
" padding-left: -38px;"
|
||||||
" padding-top: -10px;"
|
" padding-top: -10px;"
|
||||||
" padding-bottom: -15px; }"
|
" padding-bottom: -15px; }"
|
||||||
"QSlider::handle { image: url(:/png/fader/res/faderhandle.png); }" );
|
"QSlider::handle { image: url(:/png/fader/res/faderhandle.png); }" );
|
||||||
|
|
Loading…
Reference in a new issue