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/alflabel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alf/alflabel.cpp') diff --git a/alf/alflabel.cpp b/alf/alflabel.cpp index 5292a13..fd2cab7 100644 --- a/alf/alflabel.cpp +++ b/alf/alflabel.cpp @@ -232,7 +232,7 @@ ALF_AddLabel(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