From 6b244d5081ee270dd2a16ef8ec418b19eae1a1b1 Mon Sep 17 00:00:00 2001 From: Abhishek Banthia Date: Sun, 15 May 2016 13:13:15 -0400 Subject: [PATCH] Updating Autolayout Constraints. --- Clocker/Floating Window/CLFloatingWindowController.m | 4 ++-- .../Floating Window/en.lproj/CLFloatingWindow.xib | 12 ++++++------ .../Floating Window/ja.lproj/CLFloatingWindow.xib | 8 ++++---- .../zh-Hans.lproj/CLFloatingWindow.xib | 8 ++++---- .../zh-Hant.lproj/CLFloatingWindow.xib | 8 ++++---- Clocker/ja.lproj/Panel.xib | 5 ++--- 6 files changed, 22 insertions(+), 23 deletions(-) diff --git a/Clocker/Floating Window/CLFloatingWindowController.m b/Clocker/Floating Window/CLFloatingWindowController.m index 5865fc4..8328d23 100644 --- a/Clocker/Floating Window/CLFloatingWindowController.m +++ b/Clocker/Floating Window/CLFloatingWindowController.m @@ -128,8 +128,6 @@ NSString *const CLTimezoneCellIdentifier = @"timeZoneCell"; customLabel.insertionPointColor = [NSColor whiteColor]; cell.sunriseSetImage.image = dataObject.sunriseOrSunset ? [NSImage imageNamed:@"White Sunrise"] : [NSImage imageNamed:@"White Sunset"]; - cell.sunriseSetImage.image = dataObject.sunriseOrSunset ? - [NSImage imageNamed:@"Sunrise"] : [NSImage imageNamed:@"Sunset"]; } else { @@ -139,6 +137,8 @@ NSString *const CLTimezoneCellIdentifier = @"timeZoneCell"; [self.mainTableview setBackgroundColor:[NSColor whiteColor]]; self.window.alphaValue = 1; customLabel.insertionPointColor = [NSColor blackColor]; + cell.sunriseSetImage.image = dataObject.sunriseOrSunset ? + [NSImage imageNamed:@"Sunrise"] : [NSImage imageNamed:@"Sunset"]; } cell.relativeDate.stringValue = [dataObject getDateForTimeZoneWithFutureSliderValue:self.futureSliderValue andDisplayType:CLPanelDisplay]; diff --git a/Clocker/Floating Window/en.lproj/CLFloatingWindow.xib b/Clocker/Floating Window/en.lproj/CLFloatingWindow.xib index 7f1b6c6..1f27e58 100644 --- a/Clocker/Floating Window/en.lproj/CLFloatingWindow.xib +++ b/Clocker/Floating Window/en.lproj/CLFloatingWindow.xib @@ -58,7 +58,7 @@ - + @@ -66,7 +66,7 @@ - + @@ -106,7 +106,7 @@ - + @@ -123,11 +123,11 @@ - - + + - + diff --git a/Clocker/Floating Window/ja.lproj/CLFloatingWindow.xib b/Clocker/Floating Window/ja.lproj/CLFloatingWindow.xib index 1544e71..8d7ca64 100644 --- a/Clocker/Floating Window/ja.lproj/CLFloatingWindow.xib +++ b/Clocker/Floating Window/ja.lproj/CLFloatingWindow.xib @@ -58,7 +58,7 @@ - + @@ -66,7 +66,7 @@ - + @@ -123,8 +123,8 @@ - - + + diff --git a/Clocker/Floating Window/zh-Hans.lproj/CLFloatingWindow.xib b/Clocker/Floating Window/zh-Hans.lproj/CLFloatingWindow.xib index 17f1b9a..3596c4c 100644 --- a/Clocker/Floating Window/zh-Hans.lproj/CLFloatingWindow.xib +++ b/Clocker/Floating Window/zh-Hans.lproj/CLFloatingWindow.xib @@ -73,7 +73,7 @@ - + @@ -81,7 +81,7 @@ - + @@ -119,11 +119,11 @@ - + - + diff --git a/Clocker/Floating Window/zh-Hant.lproj/CLFloatingWindow.xib b/Clocker/Floating Window/zh-Hant.lproj/CLFloatingWindow.xib index 6f4acc7..75ed828 100644 --- a/Clocker/Floating Window/zh-Hant.lproj/CLFloatingWindow.xib +++ b/Clocker/Floating Window/zh-Hant.lproj/CLFloatingWindow.xib @@ -74,7 +74,7 @@ - + @@ -82,7 +82,7 @@ - + @@ -121,14 +121,14 @@ - + - + diff --git a/Clocker/ja.lproj/Panel.xib b/Clocker/ja.lproj/Panel.xib index a1bf63b..54e422a 100755 --- a/Clocker/ja.lproj/Panel.xib +++ b/Clocker/ja.lproj/Panel.xib @@ -78,7 +78,7 @@ - + @@ -86,7 +86,7 @@ - + @@ -290,6 +290,5 @@ -