aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-10-24 18:15:04 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-10-24 18:15:04 +0200
commit99938e507320dd35f4062b4e47cebcf50399a826 (patch)
tree1e2c046f345fad491807ef02ca5778c889d0832c /ui
parentui: fix classic theme drawing with gross hack (diff)
downloadwireguard-windows-99938e507320dd35f4062b4e47cebcf50399a826.tar.xz
wireguard-windows-99938e507320dd35f4062b4e47cebcf50399a826.zip
ui: do not scroll list view horizontally
Diffstat (limited to 'ui')
-rw-r--r--ui/listview.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/listview.go b/ui/listview.go
index afcb0ab7..37f3f145 100644
--- a/ui/listview.go
+++ b/ui/listview.go
@@ -75,6 +75,7 @@ func NewListView(parent walk.Container) (*ListView, error) {
tv.SetLastColumnStretched(true)
tv.SetHeaderHidden(true)
tv.SetIgnoreNowhere(true)
+ tv.SetScrollbarOrientation(walk.Vertical)
tv.Columns().Add(walk.NewTableViewColumn())
tunnelsView := &ListView{