diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-04-30 08:14:36 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-04-30 08:14:36 +0200 |
commit | 7079bb099a1511c8ca75f5f2a78629a2a849d297 (patch) | |
tree | c8d64cf145b3e6b85ae495164e379093dc863abd | |
parent | ui: select tunnel on tray start error (diff) | |
download | wireguard-windows-7079bb099a1511c8ca75f5f2a78629a2a849d297.tar.xz wireguard-windows-7079bb099a1511c8ca75f5f2a78629a2a849d297.zip |
ui: allow update labels to wrap
Diffstat (limited to '')
-rw-r--r-- | ui/updatepage.go | 2 |
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) |