Fixed combobox style sheet. Added windows platform specific style sheet file.

git-svn-id: http://yate.null.ro/svn/yate/trunk@4905 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2012-02-14 12:30:52 +00:00
parent 5dc6d53ecd
commit bfc1f98aad
2 changed files with 17 additions and 10 deletions

View File

@ -140,22 +140,21 @@ QComboBox {
border-radius: 2px;
font-size: 12px;
color:#333333;
margin: 0px 0px 0px 0px;
padding: 0px 2px 0px 2px;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
}
QComboBox::down-arrow { image: url(cb_arrow.png); }
QComboBox::down-arrow:on { top: 1px; left: 1px; }
QComboBox:!editable {
padding-left: 2px;
padding-right: 2px;
}
QComboBox:editable {
padding-left: 2px;
padding-right: 24px;
}
QComboBox::drop-down {
subcontrol-origin: padding;
subcontrol-origin: margin;
subcontrol-position: top right;
width: 22px;
border-left: 1px solid #717fa0;
border: 1px solid #717fa0;
border-radius: 2px;
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #f9efef);
}
QComboBox::drop-down:on {

View File

@ -0,0 +1,8 @@
/* QComboBox */
QComboBox {
margin: 0px 23px 0px 0px;
}
QComboBox::drop-down {
border-left: 0px;
}