summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-12-21 13:41:05 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-12-21 13:41:05 +0200
commitccbcfe9fa4df9e3c91a3489ae0937fbf96bc76e9 (patch)
treee768286fb0a1af19b12a6ea761bd3d4a2449729b /src
parentPrevent emoji selector for closing (diff)
downloadnheko-ccbcfe9fa4df9e3c91a3489ae0937fbf96bc76e9.tar.xz
Bold room names
Diffstat (limited to 'src')
-rw-r--r--src/RoomInfoListItem.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/RoomInfoListItem.cc b/src/RoomInfoListItem.cc
index fa567243..41e9ea86 100644
--- a/src/RoomInfoListItem.cc
+++ b/src/RoomInfoListItem.cc
@@ -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);