From d56bd75ee5bc28daddb429b1fb850854970bc5f5 Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Thu, 16 Apr 2020 11:24:43 +0200 Subject: font handling change: allow controls to inherit fonts also do it automatically when adding widget to layout, no more calling applyfonts manually --- alf/alfbutton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alf/alfbutton.cpp') diff --git a/alf/alfbutton.cpp b/alf/alfbutton.cpp index 0bb0627..582a90c 100644 --- a/alf/alfbutton.cpp +++ b/alf/alfbutton.cpp @@ -508,7 +508,7 @@ ALF_AddButton(HWND win, WORD id, UINT x, UINT y, const TCHAR *text) p.y = y; p.width = 0; p.height = 0; - p.flags = ALF_QUERYSIZE | ALF_MESSAGEFONT; + p.flags = ALF_QUERYSIZE | ALF_INHERITFONT; ALF_AddWidgetEx(win, &p); -- cgit v1.2.3