Fix invite button colors on the system theme

fixes #248
pull/1/head
Konstantinos Sideris 7 years ago
parent f4675165ea
commit 284d200361
  1. 4
      resources/styles/system.qss
  2. 2
      src/RoomInfoListItem.cc

@ -62,7 +62,7 @@ RegisterPage {
RoomInfoListItem {
qproperty-highlightedBackgroundColor: palette(highlight);
qproperty-hoverBackgroundColor: palette(mid);
qproperty-hoverBackgroundColor: palette(light);
qproperty-backgroundColor: palette(window);
qproperty-titleColor: palette(text);
@ -71,7 +71,7 @@ RoomInfoListItem {
qproperty-highlightedTitleColor: palette(light);
qproperty-highlightedSubtitleColor: palette(light);
qproperty-btnColor: palette(light);
qproperty-btnColor: palette(mid);
qproperty-btnTextColor: palette(text);
qproperty-timestampColor: palette(text);

@ -38,7 +38,7 @@ constexpr int IconSize = 44;
constexpr int MaxHeight = IconSize + 2 * Padding;
constexpr int InviteBtnX = IconSize + 2 * Padding;
constexpr int InviteBtnY = IconSize / 2 + Padding;
constexpr int InviteBtnY = IconSize / 2 + Padding + Padding / 3;
void
RoomInfoListItem::init(QWidget *parent)

Loading…
Cancel
Save