1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

style for comobobox in friendlist panel

This commit is contained in:
agilob 2015-05-16 17:27:57 +01:00
parent 7d93379834
commit eec50124d8
2 changed files with 33 additions and 2 deletions

View File

@ -65,7 +65,6 @@ QVBoxLayout* FriendListWidget::getFriendLayout(Status s)
if (res != layouts.end())
return res.value();
//qDebug() << "Friend Status: " << static_cast<int>(s) << " not found!";
return layouts[static_cast<int>(Status::Online)];
}

View File

@ -4,7 +4,39 @@ QLineEdit
background-color: @themeMedium;
color: white;
border: 0px;
border-radius: 6px;
border-radius: 4px;
}
QComboBox {
background: none;
background-color: @themeMedium;
color: white;
border-style: none;
border-radius: 4px;
}
QComboBox:on {
background-color: @themeDark;
border-radius: 4px;
}
QComboBox:drop-down {
border-style: none;
border-radius: 4px;
}
/**
Uncomment this after https://github.com/tux3/qTox/pull/1640
is merged!
QComboBox:down-arrow {
image: url(ui/css/down_arrow.png);
}
**/
QListView {
background-color: @themeLight;
border-style: none;
border-radius: 4px;
}
#statusPanel