aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAnthony Dong <aanthony.dong@gmail.com>2019-03-25 18:54:21 +0100
committerAlexander Neumann <alexander.neumann@picos-software.com>2019-04-23 11:04:59 +0200
commit28ec569160c631d01cde7964d7dbcf67e76b8619 (patch)
tree617d444bd0c8ce79a88696dbaeeb983c75b0f3cc
parentui: make confview spacer greedy to take full available width (diff)
downloadwireguard-windows-28ec569160c631d01cde7964d7dbcf67e76b8619.tar.xz
wireguard-windows-28ec569160c631d01cde7964d7dbcf67e76b8619.zip
ui: fix invalid layout direction
Signed-off-by: Anthony Dong <aanthony.dong@gmail.com>
-rw-r--r--ui/manage_tunnels.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/manage_tunnels.go b/ui/manage_tunnels.go
index 5d3c2537..8eea6e8d 100644
--- a/ui/manage_tunnels.go
+++ b/ui/manage_tunnels.go
@@ -46,7 +46,7 @@ func NewManageTunnelsWindow(icon *walk.Icon) (*ManageTunnelsWindow, error) {
func (mtw *ManageTunnelsWindow) setup() error {
mtw.SetIcon(mtw.icon)
mtw.SetSize(walk.Size{900, 600})
- mtw.SetLayout(walk.NewHBoxLayout())
+ mtw.SetLayout(walk.NewVBoxLayout())
mtw.Closing().Attach(func(canceled *bool, reason walk.CloseReason) {
// "Close to tray" instead of exiting application
onQuit()