Bold room names

This commit is contained in:
Konstantinos Sideris 2017-12-21 13:41:05 +02:00
parent aaa4d8c323
commit ccbcfe9fa4
3 changed files with 5 additions and 4 deletions

View File

@ -44,10 +44,10 @@ RoomInfoListItem {
qproperty-hoverBackgroundColor: #39679e;
qproperty-backgroundColor: #383c4a;
qproperty-titleColor: #caccd1;
qproperty-titleColor: #e4e5e8;
qproperty-subtitleColor: #caccd1;
qproperty-highlightedTitleColor: #e4e5e8;
qproperty-highlightedTitleColor: #f4f4f5;
qproperty-highlightedSubtitleColor: #e4e5e8;
qproperty-btnColor: #414A59;

View File

@ -46,7 +46,7 @@ RoomInfoListItem {
qproperty-subtitleColor: #5d6565;
qproperty-highlightedTitleColor: white;
qproperty-highlightedSubtitleColor: white;
qproperty-highlightedSubtitleColor: #f4f4f5;
qproperty-btnColor: #ccc;
qproperty-btnTextColor: #333;

View File

@ -148,6 +148,7 @@ RoomInfoListItem::paintEvent(QPaintEvent *event)
if (width() > ui::sidebar::SmallSize) {
font.setPixelSize(conf::roomlist::fonts::heading);
font.setWeight(68);
p.setFont(font);
p.setPen(titlePen);
@ -173,7 +174,7 @@ RoomInfoListItem::paintEvent(QPaintEvent *event)
auto userName =
metrics.elidedText(lastMsgInfo_.username, Qt::ElideRight, usernameLimit);
font.setBold(true);
font.setWeight(60);
p.setFont(font);
p.drawText(QPoint(2 * Padding + IconSize, bottom_y), userName);