[Git][wine/wine][master] comctl32_v6: Add horizontal spacing around button text.

"Alexandre Julliard (@julliard) via Wine-commits" <[email protected]> Thu, 15 Jan 2026 15:52:30 -0600
Newsgroups gmane.comp.emulators.wine.cvs
Message-ID <[email protected]>

Alexandre Julliard pushed to branch master at wine / wine


Commits:
db8974b9 by Zhiyi Zhang at 2026-01-15T21:23:19+01:00
comctl32_v6: Add horizontal spacing around button text.

BCM_GETIDEALSIZE returns a size just enough to display the button text. Windows adds horizontal
spacing around button text when it doesn't exceed the maximum button width limit. Two times
DIALOG_SPACING at each side seems close to what native does.

- - - - -


1 changed file:

- dlls/comctl32_v6/taskdialog.c


View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/db8974b94d61694b2b3f54e58a9ca5a55de0094d

-- 
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/db8974b94d61694b2b3f54e58a9ca5a55de0094d
You're receiving this email because of your account on gitlab.winehq.org.