Skip to content

Commit 2c8b29d

Browse files
committed
win32: Remove tabstop on labels
This is the correct behaviour for most labels however it will need a system for associating labels with other components to be ARIA compliant
1 parent cb0eb74 commit 2c8b29d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backends/win32/backend.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ pub const Label = struct {
10151015
const hwnd = win32.CreateWindowExW(win32.WS_EX_LEFT, // dwExtStyle
10161016
L("STATIC"), // lpClassName
10171017
L(""), // lpWindowName
1018-
@as(win32.WINDOW_STYLE, @enumFromInt(@intFromEnum(win32.WINDOW_STYLE.initFlags(.{ .TABSTOP = 1, .CHILD = 1 })) | win32.SS_CENTERIMAGE)), // dwStyle
1018+
@as(win32.WINDOW_STYLE, @enumFromInt(@intFromEnum(win32.WINDOW_STYLE.initFlags(.{ .TABSTOP = 0, .CHILD = 1 })) | win32.SS_CENTERIMAGE)), // dwStyle
10191019
0, // X
10201020
0, // Y
10211021
100, // nWidth

0 commit comments

Comments
 (0)