From 592e099ad6eef58e4f9580850a547718d4ffa6ce Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Tue, 23 Apr 2019 17:37:10 +0200 Subject: ui: overlay main window and tray icons according to tunnel status Signed-off-by: Alexander Neumann Signed-off-by: Jason A. Donenfeld --- ui/tunnelsview.go | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/tunnelsview.go') diff --git a/ui/tunnelsview.go b/ui/tunnelsview.go index 1e70c5bc..2f6ea2a4 100644 --- a/ui/tunnelsview.go +++ b/ui/tunnelsview.go @@ -103,6 +103,7 @@ func (tv *TunnelsView) StyleCell(style *walk.CellStyle) { b.Width -= b.Height canvas.DrawText(tunnel.Name, tv.Font(), 0, b, walk.TextVCenter) + b.X = 0 b.Width = b.Height tv.imageProvider.PaintForTunnel(tunnel, canvas, b) -- cgit v1.2.3-59-g8ed1b