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 | 146da53b9d0194936653fdace7f16ca0c434632e (patch) | |
tree | c8d64cf145b3e6b85ae495164e379093dc863abd /ui | |
parent | ui: select tunnel on tray start error (diff) | |
download | wireguard-windows-146da53b9d0194936653fdace7f16ca0c434632e.tar.xz wireguard-windows-146da53b9d0194936653fdace7f16ca0c434632e.zip |
ui: allow update labels to wrap
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui')
-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) |