Fix invite button colors on the system theme

fixes #248
This commit is contained in:
Konstantinos Sideris 2018-03-27 20:21:14 +03:00
parent f4675165ea
commit 284d200361
2 changed files with 3 additions and 3 deletions

View file

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

View file

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