diff options
-rw-r--r-- | ui/managewindow.go | 2 | ||||
-rw-r--r-- | ui/updatepage.go | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/ui/managewindow.go b/ui/managewindow.go index 6570af6a..4ac9f53b 100644 --- a/ui/managewindow.go +++ b/ui/managewindow.go @@ -65,7 +65,7 @@ func NewManageTunnelsWindow() (*ManageTunnelsWindow, error) { } }) - mtw.tabs, _ = walk.NewTabWidget(mtw) + mtw.tabs, _ = walk.NewTabWidgetWithStyle(mtw, win.TCS_OWNERDRAWFIXED) if mtw.tunnelsPage, err = NewTunnelsPage(); err != nil { return nil, err diff --git a/ui/updatepage.go b/ui/updatepage.go index a5471e9f..5a38b0ba 100644 --- a/ui/updatepage.go +++ b/ui/updatepage.go @@ -26,6 +26,13 @@ func NewUpdatePage() (*UpdatePage, error) { up.SetTitle("An Update is Available!") + font, err := walk.NewFont("Segoe UI", 9, walk.FontBold) + if err != nil { + return nil, err + } + up.AddDisposable(font) + up.SetTitleFont(font) + iconSize := up.DPI() / 6 tabIcon, _ := loadSystemIcon("imageres", 1, iconSize) defer tabIcon.Dispose() |