aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/updatepage.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-16 17:32:38 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-16 17:32:38 +0200
commit02a48a21d67362c39765c9a442e53dc3fa3321bd (patch)
treeb4e91917b757edd4c33b1e0162503874a3bc6479 /ui/updatepage.go
parentservice: silently ignore routes that won't have a gateway (diff)
downloadwireguard-windows-02a48a21d67362c39765c9a442e53dc3fa3321bd.tar.xz
wireguard-windows-02a48a21d67362c39765c9a442e53dc3fa3321bd.zip
ui: fix button icon height to be 32
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/updatepage.go')
-rw-r--r--ui/updatepage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/updatepage.go b/ui/updatepage.go
index fcc9a356..1cab0d26 100644
--- a/ui/updatepage.go
+++ b/ui/updatepage.go
@@ -44,7 +44,7 @@ func NewUpdatePage() (*UpdatePage, error) {
bar.SetVisible(false)
button, _ := walk.NewPushButton(up)
- updateIcon, _ := loadSystemIcon("shell32", 46, bar.Height())
+ updateIcon, _ := loadSystemIcon("shell32", 46, 32)
button.SetImage(updateIcon)
button.SetText("Update Now")