diff options
Diffstat (limited to 'tableview.go')
-rw-r--r-- | tableview.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tableview.go b/tableview.go index d7140990..e84ec667 100644 --- a/tableview.go +++ b/tableview.go @@ -366,7 +366,7 @@ func (tv *TableView) applyEnabled(enabled bool) { func (tv *TableView) applyFont(font *Font) { tv.WidgetBase.applyFont(font) - hFont := uintptr(font.handleForDPI(0)) + hFont := uintptr(font.handleForDPI(tv.DPI())) win.SendMessage(tv.hwndFrozenLV, win.WM_SETFONT, hFont, 0) win.SendMessage(tv.hwndNormalLV, win.WM_SETFONT, hFont, 0) |