0
내 Wix 설치에서 사용자 지정 대화를 만들고 있습니다. 내 코드 : 당신이 코드에서 내 배너를 볼 수 있습니다처럼구성에서 정의 된 것과 다른 높이와 너비
<Binary Id="BannerBitmap" SourceFile="banner.bmp" />
<Dialog Id="InstallDlg" Width="370" Height="270"
Title="[ProductName] Setup" NoMinimize="yes">
<Control Id="Install" Type="PushButton" X="304" Y="243" Width="56"
Height="17" Default="yes" Text="[ButtonText_Install]">
<Publish Event="EndDialog" Value="Return" />
</Control>
<Control Id="Banner" Type="Bitmap" X="0" Y="0" Width="370" Height="44"
TabSkip="no" Text="BannerBitmap" />
<Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15"
Transparent="yes" NoPrefix="yes">
<Text>The [Wizard] is ready to begin the installation</Text>
</Control>
<Control Id="Text" Type="Text" X="25" Y="70" Width="320" Height="20">
<Text>Click Install to begin the installation.</Text>
</Control>
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes">
<Text>{\DlgTitleFont}Ready to Install</Text>
</Control>
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
</Dialog>
문제는이다 가지고 witdh = 370, 높이 = 44,하지만 내 대화 상자가 표시 될 때 배너는 폭 = 493 높이 = 58으로 표시됩니다
심각한 문제는 아니지만 이미지가 스트레치 모드로 표시되어 매우 왜곡되어 보일 수 있습니다.
왜 이런 일이 발생했는지 또는 어떻게 수정해야하는지 알 수 있습니까?
OBS : 빛에 내 명령 행 :
light.exe -sice:ICE20 SampleCustomUI1.wixobj
확인. 이 경우 "이미지 모드"= 없음 (또는 이와 비슷한 것)을 사용할 수 있습니까? 또는 유일한 모드는 스트레치입니까? –