diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-05-04 01:09:55 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-05-04 01:09:55 +0300 |
commit | 2a02f518b2eb5903e49a74224f4ca74461c379b8 (patch) | |
tree | d3d2e19073513b3d3472b3db38b17109d915d3d0 /ui/room-list.go | |
parent | 122b2441c991a941193769569c532d8b0e198904 (diff) |
Highlight whole room list row even if room name is short
Diffstat (limited to 'ui/room-list.go')
-rw-r--r-- | ui/room-list.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |