diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-12-21 13:41:05 +0200 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-12-21 13:41:05 +0200 |
commit | ccbcfe9fa4df9e3c91a3489ae0937fbf96bc76e9 (patch) | |
tree | e768286fb0a1af19b12a6ea761bd3d4a2449729b /src | |
parent | Prevent emoji selector for closing (diff) | |
download | nheko-ccbcfe9fa4df9e3c91a3489ae0937fbf96bc76e9.tar.xz |
Bold room names
Diffstat (limited to 'src')
-rw-r--r-- | src/RoomInfoListItem.cc | 3 |
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); |