We are using Wix Toolset 3.11 to build an .msi. We use a banner that contains our company logo:
<WixVariable Id="WixUIBannerBmp" Value="Banner.bmp"/>
The Problem: Our logo has a width of 130px. In some Dialogs, the text in the header is too long and collides with the Logo:
Question: How can we limit the width of the textbox in the header so that the text will break into the next line?
In your .wxl File add an UI-Element and set the width of the Description
control for a dialog:
<WixLocalization>
[...]
<UI Dialog="InstallDirDlg" Control="Description" Width="whatever, default 280"/>
</WixLocalization>
Instead of the Description
control you also can change the width of the Title
control.
How to customize UI Dialogs in Wix to modify location/size of Labels
If you want your text to wrap in the control, be sure to set also the Height attribute large enough. E.g. to double the height of the above control, set Height="30".