aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/updatepage.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-04-30 08:14:36 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-04-30 08:14:36 +0200
commit7079bb099a1511c8ca75f5f2a78629a2a849d297 (patch)
treec8d64cf145b3e6b85ae495164e379093dc863abd /ui/updatepage.go
parentui: select tunnel on tray start error (diff)
downloadwireguard-windows-7079bb099a1511c8ca75f5f2a78629a2a849d297.tar.xz
wireguard-windows-7079bb099a1511c8ca75f5f2a78629a2a849d297.zip
ui: allow update labels to wrap
Diffstat (limited to 'ui/updatepage.go')
-rw-r--r--ui/updatepage.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/updatepage.go b/ui/updatepage.go
index 85b8558b..0611ba08 100644
--- a/ui/updatepage.go
+++ b/ui/updatepage.go
@@ -32,9 +32,11 @@ func NewUpdatePage() (*UpdatePage, error) {
instructions, _ := walk.NewTextLabel(up)
instructions.SetText("An update to WireGuard is available. It is highly advisable to update without delay.")
+ instructions.SetMinMaxSize(walk.Size{1, 0}, walk.Size{0, 0})
status, _ := walk.NewTextLabel(up)
status.SetText("Status: Waiting for user")
+ status.SetMinMaxSize(walk.Size{1, 0}, walk.Size{0, 0})
bar, _ := walk.NewProgressBar(up)
bar.SetVisible(false)