You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wixstdba allows for configuring the window size using the theme file. However, when wixstdba creates the main window the window size from the theme file is used as is without compensating for border size and/or window title bar size. This in turn means that the actual size of the client region of the main install window will vary from one machine to another and may cause the themed installer to look ugly on some configurations.
To verify this behavior, go to Control Panel -> Display and vary the size of the text size for title bars. (Tested on Windows 8.1).
Wixstdba allows for configuring the window size using the theme file. However, when wixstdba creates the main window the window size from the theme file is used as is without compensating for border size and/or window title bar size. This in turn means that the actual size of the client region of the main install window will vary from one machine to another and may cause the themed installer to look ugly on some configurations.
To verify this behavior, go to Control Panel -> Display and vary the size of the text size for title bars. (Tested on Windows 8.1).
The fix should probably be to call AdjustWindowRectEx to adjust the window size prior to calling CreateWindowExW in CWixStandardBootstrapperApplication:CreateMainWindow (src/ext/BalExtension/wixstdba/WixStandardBootStrapperApplication.cpp).
For reference see the implementation of CWnd::CalcWindowRect in MFC.
The text was updated successfully, but these errors were encountered: