diff --git a/Clocker/Custom Table Cell Views/CLTimezoneCellView.m b/Clocker/Custom Table Cell Views/CLTimezoneCellView.m
index 9907670..25c190d 100644
--- a/Clocker/Custom Table Cell Views/CLTimezoneCellView.m
+++ b/Clocker/Custom Table Cell Views/CLTimezoneCellView.m
@@ -160,16 +160,26 @@
{
CGFloat width = [self.relativeDate.stringValue
sizeWithAttributes: @{NSFontAttributeName:self.relativeDate.font}].width;
-
+ CGFloat sunriseWidth = [self.sunriseSetTime.stringValue
+ sizeWithAttributes: @{NSFontAttributeName:self.sunriseSetTime.font}].width;
[self.relativeDate.constraints enumerateObjectsUsingBlock:^(NSLayoutConstraint * _Nonnull constraint, NSUInteger idx, BOOL * _Nonnull stop) {
if (constraint.constant > 20)
{
constraint.constant = width+8;
}
-
-
}];
+
+ [self.sunriseSetTime.constraints enumerateObjectsUsingBlock:^(NSLayoutConstraint * _Nonnull constraint, NSUInteger idx, BOOL * _Nonnull stop) {
+ if (constraint.constant > 40)
+ {
+ constraint.constant = sunriseWidth+3;
+ }
+ }];
+
+
+
+
}
- (void)controlTextDidEndEditing:(NSNotification *)obj
diff --git a/Clocker/en.lproj/Panel.xib b/Clocker/en.lproj/Panel.xib
index ba151c5..f0e000e 100755
--- a/Clocker/en.lproj/Panel.xib
+++ b/Clocker/en.lproj/Panel.xib
@@ -63,7 +63,7 @@
-
+
@@ -97,20 +97,20 @@
-
+
-
-
+
+
-
+
@@ -121,7 +121,7 @@
-
+
diff --git a/Clocker/ja.lproj/Panel.xib b/Clocker/ja.lproj/Panel.xib
index 3feddab..bd23fc4 100755
--- a/Clocker/ja.lproj/Panel.xib
+++ b/Clocker/ja.lproj/Panel.xib
@@ -73,7 +73,7 @@
-
+
@@ -81,7 +81,7 @@
-
+
@@ -123,7 +123,7 @@
-
+
diff --git a/Clocker/zh-Hans.lproj/Panel.xib b/Clocker/zh-Hans.lproj/Panel.xib
index 03547e1..f0d2a36 100755
--- a/Clocker/zh-Hans.lproj/Panel.xib
+++ b/Clocker/zh-Hans.lproj/Panel.xib
@@ -73,7 +73,7 @@
-
+
@@ -81,7 +81,7 @@
-
+
@@ -120,7 +120,7 @@
-
+
diff --git a/Clocker/zh-Hant.lproj/Panel.xib b/Clocker/zh-Hant.lproj/Panel.xib
index 6d70551..2aa288d 100755
--- a/Clocker/zh-Hant.lproj/Panel.xib
+++ b/Clocker/zh-Hant.lproj/Panel.xib
@@ -73,7 +73,7 @@
-
+
@@ -81,7 +81,7 @@
-
+
@@ -125,7 +125,7 @@
-
+