Browse Source

style for comobobox in friendlist panel

pull/1663/head
agilob 10 years ago
parent
commit
eec50124d8
  1. 1
      src/widget/friendlistwidget.cpp
  2. 34
      ui/window/statusPanel.css

1
src/widget/friendlistwidget.cpp

@ -65,7 +65,6 @@ QVBoxLayout* FriendListWidget::getFriendLayout(Status s) @@ -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)];
}

34
ui/window/statusPanel.css

@ -4,7 +4,39 @@ QLineEdit @@ -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

Loading…
Cancel
Save