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/alfbutton.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/alfbutton.cpp')
| -rw-r--r-- | alf/alfbutton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
