Adam Langley wrote:
Im throwing together a simple tool for designing Wix dialogs, and Im noticing that the pixel locations/dimensions specified in the wix XML for dialogs and controls are not the ACTUAL dimensions used in the final form as it appears on the screen.Can anyone provide me with a reason for this, and how I can work out a conversion formula so I can construct a .NET form which has the identical layout to the Wix form as defined in the XML?
Dimensions in MSI UI aren't by pixel but by "installer units <http://msdn2.microsoft.com/en-us/library/aa369490.aspx>." It's not documented, but apparently MSI uses the system message box font to determine how to adjust/resize controls (visible in the TextHeightCorrection property in a verbose log).
-- sig://boB http://joyofsetup.com/
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ WiX-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-devs
