aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/manage_tunnels.go
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
commitb8cae4183330241fdf18335ea55d5a3ef0c004c4 (patch)
tree617d444bd0c8ce79a88696dbaeeb983c75b0f3cc /ui/manage_tunnels.go
parentui: make confview spacer greedy to take full available width (diff)
downloadwireguard-windows-b8cae4183330241fdf18335ea55d5a3ef0c004c4.tar.xz
wireguard-windows-b8cae4183330241fdf18335ea55d5a3ef0c004c4.zip
ui: fix invalid layout direction
Signed-off-by: Anthony Dong <aanthony.dong@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-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()