aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/manage_tunnels.go
diff options
context:
space:
mode:
authorAlexander Neumann <alexander.neumann@picos-software.com>2019-04-04 10:28:21 +0200
committerAlexander Neumann <alexander.neumann@picos-software.com>2019-04-23 11:04:59 +0200
commitf9d872148933f072e504c1292c058c676352ab17 (patch)
tree25f1c8e56c44966adae2c64ae49d0beb3c426082 /ui/manage_tunnels.go
parentui: add new status and toggle types akin to labelTextLine and refactor as required (diff)
downloadwireguard-windows-f9d872148933f072e504c1292c058c676352ab17.tar.xz
wireguard-windows-f9d872148933f072e504c1292c058c676352ab17.zip
ui: use slightly larger font to improve status display in ConfView
Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--ui/manage_tunnels.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/manage_tunnels.go b/ui/manage_tunnels.go
index 6ab20873..662de850 100644
--- a/ui/manage_tunnels.go
+++ b/ui/manage_tunnels.go
@@ -45,6 +45,12 @@ func NewManageTunnelsWindow(icon *walk.Icon) (*ManageTunnelsWindow, error) {
func (mtw *ManageTunnelsWindow) setup() error {
mtw.SetIcon(mtw.icon)
+ font, err := walk.NewFont("Segoe UI", 9, 0)
+ if err != nil {
+ return err
+ }
+ mtw.AddDisposable(font)
+ mtw.SetFont(font)
mtw.SetSize(walk.Size{900, 600})
mtw.SetLayout(walk.NewVBoxLayout())
mtw.Closing().Attach(func(canceled *bool, reason walk.CloseReason) {