diff options
| author | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2020-04-16 11:24:43 +0200 |
|---|---|---|
| committer | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2020-04-16 11:24:43 +0200 |
| commit | d56bd75ee5bc28daddb429b1fb850854970bc5f5 (patch) | |
| tree | cb1061c483d50b3627d375062ad5195aefa9ed19 /alf/alflabel.cpp | |
| parent | 090203fff7a05929816b49b19ea24959e2f518e5 (diff) | |
font handling change: allow controls to inherit fonts
also do it automatically when adding widget to layout, no more
calling applyfonts manually
Diffstat (limited to 'alf/alflabel.cpp')
| -rw-r--r-- | alf/alflabel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
