Fix bug content of drop-down box of combox do not align with the first content
This commit is contained in:
parent
62f51cb865
commit
6302964178
|
@ -60,8 +60,8 @@ ConfForm::ConfForm(QWidget *parent) :
|
|||
"QComboBox::drop-down{border:0px;width:30px;}"
|
||||
"QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}"
|
||||
"QComboBox QAbstractItemView {margin:0px 0px 0px 0px;padding: 0px 0px;border-radius:0px;background-color:#48484C;outline:0px;}"
|
||||
"QComboBox QAbstractItemView::item{border-radius:0px;font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color:#48484C;outline:0px;}"
|
||||
"QComboBox QAbstractItemView::item:hover{border-radius:0px;font-size:13px;color:rgba(255,255,255,0.91);background-color:#3D6BE5;outline:0px;}";
|
||||
"QComboBox QAbstractItemView::item{padding-left:17px;border-radius:0px;font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color:#48484C;outline:0px;}"
|
||||
"QComboBox QAbstractItemView::item:hover{padding-left:17px;border-radius:0px;font-size:13px;color:rgba(255,255,255,0.91);background-color:#3D6BE5;outline:0px;}";
|
||||
leQss = "QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}";
|
||||
btnOffQss = "QPushButton{border:0px;border-radius:4px;background-color:rgba(255,255,255,0.12);color:white;font-size:14px;}"
|
||||
"QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(255,255,255,0.2);}"
|
||||
|
|
|
@ -26,8 +26,8 @@ MyQss::MyQss()
|
|||
"QComboBox::drop-down{border:0px;width:30px;}"
|
||||
"QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}"
|
||||
"QComboBox QAbstractItemView {margin:0px 0px 0px 0px;padding: 0px 0px;border-radius:0px;background-color:#48484C;outline:0px;}"
|
||||
"QComboBox QAbstractItemView::item{border-radius:0px;font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color:#48484C;outline:0px;}"
|
||||
"QComboBox QAbstractItemView::item:hover{border-radius:0px;font-size:13px;color:rgba(255,255,255,0.91);background-color:#3D6BE5;outline:0px;}";
|
||||
"QComboBox QAbstractItemView::item{padding-left:17px;border-radius:0px;font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color:#48484C;outline:0px;}"
|
||||
"QComboBox QAbstractItemView::item:hover{padding-left:17px;border-radius:0px;font-size:13px;color:rgba(255,255,255,0.91);background-color:#3D6BE5;outline:0px;}";
|
||||
leQss = "QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}";
|
||||
checkBoxQss = "QCheckBox {border:none;background:transparent;}"
|
||||
"QCheckBox::indicator {width: 18px; height: 9px;}"
|
||||
|
|
Loading…
Reference in New Issue