Bold room names
This commit is contained in:
parent
aaa4d8c323
commit
ccbcfe9fa4
@ -44,10 +44,10 @@ RoomInfoListItem {
|
|||||||
qproperty-hoverBackgroundColor: #39679e;
|
qproperty-hoverBackgroundColor: #39679e;
|
||||||
qproperty-backgroundColor: #383c4a;
|
qproperty-backgroundColor: #383c4a;
|
||||||
|
|
||||||
qproperty-titleColor: #caccd1;
|
qproperty-titleColor: #e4e5e8;
|
||||||
qproperty-subtitleColor: #caccd1;
|
qproperty-subtitleColor: #caccd1;
|
||||||
|
|
||||||
qproperty-highlightedTitleColor: #e4e5e8;
|
qproperty-highlightedTitleColor: #f4f4f5;
|
||||||
qproperty-highlightedSubtitleColor: #e4e5e8;
|
qproperty-highlightedSubtitleColor: #e4e5e8;
|
||||||
|
|
||||||
qproperty-btnColor: #414A59;
|
qproperty-btnColor: #414A59;
|
||||||
|
@ -46,7 +46,7 @@ RoomInfoListItem {
|
|||||||
qproperty-subtitleColor: #5d6565;
|
qproperty-subtitleColor: #5d6565;
|
||||||
|
|
||||||
qproperty-highlightedTitleColor: white;
|
qproperty-highlightedTitleColor: white;
|
||||||
qproperty-highlightedSubtitleColor: white;
|
qproperty-highlightedSubtitleColor: #f4f4f5;
|
||||||
|
|
||||||
qproperty-btnColor: #ccc;
|
qproperty-btnColor: #ccc;
|
||||||
qproperty-btnTextColor: #333;
|
qproperty-btnTextColor: #333;
|
||||||
|
@ -148,6 +148,7 @@ RoomInfoListItem::paintEvent(QPaintEvent *event)
|
|||||||
|
|
||||||
if (width() > ui::sidebar::SmallSize) {
|
if (width() > ui::sidebar::SmallSize) {
|
||||||
font.setPixelSize(conf::roomlist::fonts::heading);
|
font.setPixelSize(conf::roomlist::fonts::heading);
|
||||||
|
font.setWeight(68);
|
||||||
p.setFont(font);
|
p.setFont(font);
|
||||||
p.setPen(titlePen);
|
p.setPen(titlePen);
|
||||||
|
|
||||||
@ -173,7 +174,7 @@ RoomInfoListItem::paintEvent(QPaintEvent *event)
|
|||||||
auto userName =
|
auto userName =
|
||||||
metrics.elidedText(lastMsgInfo_.username, Qt::ElideRight, usernameLimit);
|
metrics.elidedText(lastMsgInfo_.username, Qt::ElideRight, usernameLimit);
|
||||||
|
|
||||||
font.setBold(true);
|
font.setWeight(60);
|
||||||
p.setFont(font);
|
p.setFont(font);
|
||||||
p.drawText(QPoint(2 * Padding + IconSize, bottom_y), userName);
|
p.drawText(QPoint(2 * Padding + IconSize, bottom_y), userName);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user