Commit c2a2816e by Julian Sparber

increase avatar size in the sidebar to 24px

parent d7dc1755
......@@ -26,7 +26,7 @@
}
.room-row {
padding: 8px 0px;
padding: 6px 0px;
}
.room-list list row:selected .notify-badge {
......
......@@ -19,7 +19,7 @@ use widgets;
use widgets::AvatarExt;
const ICON_SIZE: i32 = 20;
const ICON_SIZE: i32 = 24;
// Room row for the room sidebar. This widget shows the room avatar, the room name and the unread
......@@ -170,6 +170,8 @@ impl RoomRow {
if self.room.direct {
b.pack_start(&self.direct, false, false, 0);
}
self.text.set_valign(gtk::Align::Center);
self.notifications.set_valign(gtk::Align::Center);
b.pack_start(&self.text, true, true, 0);
b.pack_start(&self.notifications, false, false, 5);
self.widget.show_all();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment