如何在 Wix 中自定义 UI 对话框以修改标签的位置/大小 [英] How to customize UI Dialogs in Wix to modify location/size of Labels
问题描述
我一直想修改 InstallDirDlgDescription
文本的位置(单击下一步安装到默认文件夹或单击更改选择另一个.)默认情况下,此文本的 x 坐标为 X="25" 并且文本与我的徽标重叠(我已自定义对话框以将横幅更改为我的徽标).
I've been wanting to modify the location of the InstallDirDlgDescription
text (Click Next to install to the default folder or click Change to choose another.)
The x co-ordinate of this text by default is X="25" and the text overlaps with my logo (I've customized the dialog to change the banner to my logo).
我知道我可以通过执行 -->
I know I can change the VALUE of the String by doing -->
<String Id="InstallDirDlgDescription">This is a custom message.</String>
但是有没有办法改变文本的位置(我想设置 X = "5" 以便文本向左移动并且不与我的标志重叠)?
But is there a way of changing the location of the text (I want to set X = "5" so that the text shifts to left and doesn't overlap with my logo) ?
谢谢!
推荐答案
使用 UI
元素来改变控件属性.请参阅 http://www.joyofsetup.com/2012/07/14/localizing-more-than-strings-in-wix-v3-6/ 示例.
这篇关于如何在 Wix 中自定义 UI 对话框以修改标签的位置/大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!