From 079fdbf1a553e314cbba386b85ca92b67c61b8df Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Mon, 20 Apr 2020 17:18:20 +0200 Subject: fixup transparent background work and add test in widgetfactory Win32s bites once again with its 16bit WPARAM --- 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 f424486..8a878a0 100644 --- a/alf/alflabel.cpp +++ b/alf/alflabel.cpp @@ -240,7 +240,7 @@ ALF_AddLabel(HWND win, WORD id, int x, int y, const TCHAR *text) priv->style = ALF_LABEL_ALIGN_LEFT | ALF_LABEL_ALIGN_TOP_LIKE_EDIT; SetWindowLongPtr(hwndLabel, 0, (LONG_PTR)priv); - ALF_AddWidget(win, x, y, hwndLabel, 0, 0, ALF_LAYOUT_SIZE_QUERY | ALF_LAYOUT_INHERITFONT); + ALF_AddWidget(win, x, y, hwndLabel, 0, 0, ALF_LAYOUT_SIZE_QUERY | ALF_LAYOUT_INHERITFONT | ALF_LAYOUT_TRANSPARENTBG); return hwndLabel; } -- cgit v1.2.3