From 2a02f518b2eb5903e49a74224f4ca74461c379b8 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 4 May 2018 01:09:55 +0300 Subject: Highlight whole room list row even if room name is short --- ui/room-list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/room-list.go') diff --git a/ui/room-list.go b/ui/room-list.go index 11fa6b9..3ef64c3 100644 --- a/ui/room-list.go +++ b/ui/room-list.go @@ -718,7 +718,7 @@ func (list *RoomList) Draw(screen tcell.Screen) { lineWidth -= len(unreadMessageCount) + 1 } - widget.WriteLine(screen, tview.AlignLeft, text, x, y, lineWidth, style) + widget.WriteLinePadded(screen, tview.AlignLeft, text, x, y, lineWidth, style) y++ if y >= bottomLimit { -- cgit v1.2.3