aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/tunnelsview.go
diff options
context:
space:
mode:
authorAlexander Neumann <alexander.neumann@picos-software.com>2019-04-23 17:37:10 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-04-23 17:43:47 +0200
commit592e099ad6eef58e4f9580850a547718d4ffa6ce (patch)
tree1355594787f5827bd7035a9e2b5ec341a5ce60f4 /ui/tunnelsview.go
parentui: remove nag and fix up strings (diff)
downloadwireguard-windows-592e099ad6eef58e4f9580850a547718d4ffa6ce.tar.xz
wireguard-windows-592e099ad6eef58e4f9580850a547718d4ffa6ce.zip
ui: overlay main window and tray icons according to tunnel status
Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--ui/tunnelsview.go1
1 files changed, 1 insertions, 0 deletions
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)