|
|||||||
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Sep 2009
Posts: 7
|
Help -> nsDiaglogs issue: some label is overlap in second page
I use created 2 custom pages by nsDialogs.nsh. The first show the label, button and link very well. But after go to next page, the label looks like be overlapped by some other controls.
I post the code and the sreenshort here, someone please take a look and give me some idea how to solve it. Thanks! The first page show the Window Installer 3.1 installation: ========================================================== nsDialogs::Create /NOUNLOAD 1018 Pop $WindowsInstallerDialogHandle ${If} error == $WindowsInstallerDialogHandle Abort ${EndIf} ${NSD_CreateIcon} 5u 8u -40u 31u ${NSD_CreateLabel} 40u 8u -40u 31u "$(WindowsInstallerIniField2Text)" Pop $WindowsInstallerInfoLabelHandle ${NSD_CreateLabel} 40u 28u -40u 31u "$(WindowsInstallerIniField3Text)" Pop $SecondInstallerInfoLabelHandle Call IsWindows3Dot1RedistibutablePresent Pop $0 ${If} 1 == $0 ; show button ${NSD_CreateButton} 60u 93u 144u 14u "$(WindowsInstallerIniField5Text)" Pop $WinInstallerFromDiskButtonHandle ${NSD_OnClick} $WinInstallerFromDiskButtonHandle InstallWindows3Dot1 ; button clicked event ${EndIf} ${NSD_CreateLink} 60u 72u -40u 10u "$(WindowsInstallerIniField4Text)" Pop $WinInstallerLinkHandle ${NSD_OnClick} $WinInstallerLinkHandle OnWindowsInstallerLinkClicked ; Show the dialog nsDialogs::Show Return ============================================================ The second page show the .NET 3.5 installation: ============================================================ nsDialogs::Create /NOUNLOAD 1018 Pop $DotNetDialogHandle ${If} error == $DotNetDialogHandle Abort ${EndIf} ${NSD_CreateIcon} 5u 9u -40u 31u ${NSD_CreateLabel} 40u 9u -40u 31u "$(DotNet3IniField2Text)" Pop $DotNetInfoLabelHandle ${NSD_CreateLabel} 40u 30u -40u 31u "$(DotNet3IniField3Text)" Pop $SecondDotNetInfoLabelHandle Call IsDotNet3RedistibutablePresent Pop $0 ${If} 1 == $0 ; show button ${NSD_CreateButton} 60u 91u 144u 14u "$(DotNet3IniField5Text)" Pop $NetFromDiskButtonHandle ${NSD_OnClick} $NetFromDiskButtonHandle InstallDotNet3 ; button clicked event ${EndIf} ${NSD_CreateLink} 60u 70u -40u 10u "$(DotNet3IniField4Text)" Pop $NetFromLinkHandle ${NSD_OnClick} $NetFromLinkHandle OnDotNetOnLinkClicked ; Show the dialog nsDialogs::Show Return ============================================================ |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|