From b2af850ccbd5e99f36b59b66a4dbf5eddb30daeb Mon Sep 17 00:00:00 2001 From: Zihan Chen Date: Sun, 29 Oct 2017 04:08:20 -0700 Subject: [PATCH] Fix wrong new contact window size bug --- Tools/GacGen.ps1 | 6 ++-- .../AddressBook/UI/Resource.xml | 27 +++++++++++----- .../UI/Source/DemoPartialClasses.cpp | 32 +++++++------------ .../UI/Source/DemoPartialClasses.h | 7 ++-- .../AddressBook/UI/Source/DemoReflection.cpp | 8 ++--- 5 files changed, 41 insertions(+), 39 deletions(-) diff --git a/Tools/GacGen.ps1 b/Tools/GacGen.ps1 index 53d06deb..f3cd662f 100644 --- a/Tools/GacGen.ps1 +++ b/Tools/GacGen.ps1 @@ -8,10 +8,12 @@ Write-Host "Compiling GacUI Resource: $FileName ..." Start-Process-And-Wait (,("$PSScriptRoot\GacGen32.exe", "/P $FileName")) Start-Process-And-Wait (,("$PSScriptRoot\GacGen64.exe", "/P $FileName")) -if (Test-Path -Path "$($FileName).log\x32\Error.txt") { +if (Test-Path -Path "$($FileName).log\x32\Errors.txt") { + Write-Host (Get-Content "$($FileName).log\x32\Errors.txt") -ForegroundColor Red -Separator "`r`n" throw "Failed to compile GacUI Resource (x86): $FileName" } -if (Test-Path -Path "$($FileName).log\x64\Error.txt") { +if (Test-Path -Path "$($FileName).log\x64\Errors.txt") { + Write-Host (Get-Content "$($FileName).log\x64\Errors.txt") -ForegroundColor Red -Separator "`r`n" throw "Failed to compile GacUI Resource (x64): $FileName" } diff --git a/Tutorial/GacUI_Controls/AddressBook/UI/Resource.xml b/Tutorial/GacUI_Controls/AddressBook/UI/Resource.xml index a963bbda..5a7ed528 100644 --- a/Tutorial/GacUI_Controls/AddressBook/UI/Resource.xml +++ b/Tutorial/GacUI_Controls/AddressBook/UI/Resource.xml @@ -136,8 +136,9 @@ - @@ -382,7 +393,7 @@