Browse Source

合并-调整高保真

tangchao 1 year ago
parent
commit
4bb27caa76

BIN
PDF Office/PDF Office.xcodeproj/project.xcworkspace/xcuserdata/kdanmobile.xcuserdatad/UserInterfaceState.xcuserstate


+ 45 - 8
PDF Office/PDF Office/Class/Merge/OCPart/KMBlankView.m

@@ -7,6 +7,12 @@
 
 #import "KMBlankView.h"
 
+@interface KMBlankView ()
+
+@property (nonatomic, strong) NSButton *button;
+
+@end
+
 @implementation KMBlankView
 
 -(void)awakeFromNib {
@@ -18,6 +24,14 @@
     self.secondTitleLabel.stringValue = @"";
     [self addTrackingArea];
     self.wantsLayer = YES;
+    
+    [self.customView addSubview:self.button];
+}
+
+- (void)layout {
+    [super layout];
+    
+    self.button.frame = self.imageView.frame;
 }
 
 - (void)addTrackingArea {
@@ -40,14 +54,14 @@
     }
 }
 
-- (void)mouseDown:(NSEvent *)event {
-    [super mouseDown:event];
-    NSPoint point = [event locationInWindow];
-    point = [self convertPoint:point toView:self.imageView];
-    if (self.mouseActionCallBack && CGRectContainsPoint(self.imageView.bounds, point)) {
-        self.mouseActionCallBack(KMBlankViewMouseEventType_MouseDown);
-    }
-}
+//- (void)mouseDown:(NSEvent *)event {
+//    [super mouseDown:event];
+//    NSPoint point = [event locationInWindow];
+//    point = [self convertPoint:point toView:self.imageView];
+//    if (self.mouseActionCallBack && CGRectContainsPoint(self.imageView.bounds, point)) {
+//        self.mouseActionCallBack(KMBlankViewMouseEventType_MouseDown);
+//    }
+//}
 
 - (void)mouseUp:(NSEvent *)event {
     [super mouseUp:event];
@@ -58,4 +72,27 @@
     }
 }
 
+#pragma mark -
+#pragma mark - User Actions
+
+- (void)buttonDidClick {
+    if (self.mouseActionCallBack) {
+        self.mouseActionCallBack(KMBlankViewMouseEventType_MouseDown);
+    }
+}
+
+#pragma mark -
+#pragma mark - Getting
+
+- (NSButton *)button {
+    if (!_button) {
+        _button = [[NSButton alloc] init];
+        _button.bordered = false;
+        _button.title = @"";
+        _button.target = self;
+        _button.action = @selector(buttonDidClick);
+    }
+    return _button;
+}
+
 @end

+ 46 - 42
PDF Office/PDF Office/Class/Merge/OCPart/KMPDFEditAppendWindow.m

@@ -126,6 +126,8 @@ static NSString * const KMTableColumnSizeID = @"size";
 }
 
 @property (nonatomic, assign) NSInteger insertRow;
+
+@property (weak) IBOutlet NSBox *tableHeaderBox;
 @property (weak) IBOutlet NSTextField *fileNameLabel;
 @property (weak) IBOutlet NSTextField *pageRangeLabel;
 @property (weak) IBOutlet NSTextField *sizeLabel;
@@ -138,6 +140,9 @@ static NSString * const KMTableColumnSizeID = @"size";
 @property (assign) IBOutlet NSButton *cancelButton;
 //@property (assign) IBOutlet NSButton *addFileButton;
 
+@property (weak) IBOutlet NSButton *nMergeButton;
+@property (weak) IBOutlet NSButton *nCancelButton;
+
 @property (weak) IBOutlet NSBox *addBox;
 @property (nonatomic, strong) KMDesignSelect *addFileButton;
 
@@ -277,37 +282,35 @@ static NSString * const KMTableColumnSizeID = @"size";
         i += 1;
     }
     
-    _cancelButton.title = NSLocalizedString(@"Cancel", nil);
-    self.cancelButton.wantsLayer = YES;
-    self.cancelButton.layer.backgroundColor = NSColor.whiteColor.CGColor;
-    self.cancelButton.layer.borderWidth = 1;
-    self.cancelButton.layer.borderColor = [NSColor colorWithRed:223/255.f green:225/255.f blue:229/255.f alpha:1.f].CGColor;
-    self.cancelButton.layer.cornerRadius = 4;
-    [self.cancelButton setTitleColor:[NSColor colorWithRed:37/255.f green:38/255.f blue:41/255.f alpha:1.f]];
-    self.cancelButton.font = [NSFont fontWithName:@"SFProText-Regular" size:14];
+    self.nCancelButton.title = NSLocalizedString(@"Cancel", nil);
+    self.nCancelButton.wantsLayer = YES;
+    self.nCancelButton.layer.backgroundColor = NSColor.whiteColor.CGColor;
+    self.nCancelButton.layer.borderWidth = 1;
+    self.nCancelButton.layer.borderColor = [NSColor colorWithRed:223/255.f green:225/255.f blue:229/255.f alpha:1.f].CGColor;
+    self.nCancelButton.layer.cornerRadius = 4;
+    [self.nCancelButton setTitleColor:[NSColor colorWithRed:37/255.f green:38/255.f blue:41/255.f alpha:1.f]];
+    self.nCancelButton.font = [NSFont fontWithName:@"SFProText-Regular" size:14];
+    self.nCancelButton.target = self;
+    self.nCancelButton.action = @selector(buttonItemClicked_Cancel:);
     _removeButton.title = NSLocalizedString(@"Remove", nil);
     self.clearButton.image = [NSImage imageNamed:@"KMImageNameMergeDelete"];
     
     [_addFileButton setTitle:NSLocalizedString(@"Add Files", nil)];
     
-//    if (_editType == KMPDFPageEditAppend) {
-//        _appendButton.title = NSLocalizedString(@"Append", nil);
-//    } else {
-        _appendButton.title = NSLocalizedString(@"Merge", nil);
-//    }
-    self.appendButton.wantsLayer = YES;
-    self.appendButton.layer.backgroundColor = [NSColor colorWithRed:23/255.f green:112/255.f blue:244/255.f alpha:1.f].CGColor;
-    self.appendButton.layer.cornerRadius = 4;
-    [self.appendButton setTitleColor:[NSColor whiteColor]];
-    self.appendButton.font = [NSFont fontWithName:@"SFProText-Regular" size:14];
+    self.nMergeButton.title = NSLocalizedString(@"Merge", nil);
+    self.nMergeButton.wantsLayer = YES;
+    self.nMergeButton.layer.backgroundColor = [NSColor colorWithRed:23/255.f green:112/255.f blue:244/255.f alpha:1.f].CGColor;
+    self.nMergeButton.layer.cornerRadius = 4;
+    [self.nMergeButton setTitleColor:[NSColor whiteColor]];
+    self.nMergeButton.font = [NSFont fontWithName:@"SFProText-Regular" size:14];
+    self.nMergeButton.target = self;
+    self.nMergeButton.action = @selector(buttonItemClicked_Append:);
     
     self.tableView.delegate = self;
     self.tableView.dataSource = self;
     self.tableView.allowsMultipleSelection = YES;
     [_tableView registerForDraggedTypes:[NSArray arrayWithObjects:NSFilenamesPboardType, NSPasteboardTypeString, NSPasteboardTypePDF, MyTableCellViewDataType, nil]];
     
-
-    
     NSArray *tableHeaderTitles = @[NSLocalizedString(@"File Name", nil),NSLocalizedString(@"Page Range", nil),NSLocalizedString(@"Size", nil)];
     i = 0;
     for (NSTextField *label in @[self.fileNameLabel, self.pageRangeLabel, self.sizeLabel]) {
@@ -340,7 +343,8 @@ static NSString * const KMTableColumnSizeID = @"size";
     
     [self.tableView addSubview:self.myBlankView];
     [self.myBlankView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.edges.equalTo(self.tableView);
+        make.left.top.width.equalTo(self.tableView);
+        make.height.equalTo(self.tableView).offset(-60);
     }];
     self.myBlankView.wantsLayer = YES;
     self.myBlankView.layer.backgroundColor = [NSColor clearColor].CGColor;
@@ -415,22 +419,29 @@ static NSString * const KMTableColumnSizeID = @"size";
 {
     if (_files.count > 0) {
         self.myBlankView.hidden = YES;
+        self.tableHeaderBox.hidden = NO;
         [_removeButton setEnabled:YES];
         [_clearButton setEnabled:YES];
         self.clearButton.image = [NSImage imageNamed:@"KMImageNameMergeDeleteEnabled"];
-//        [_appendButton setEnabled:YES];
-        [self.appendButton setTitleColor:[NSColor whiteColor]];
-        self.appendButton.layer.backgroundColor = [NSColor colorWithRed:23/255.f green:112/255.f blue:244/255.f alpha:1.f].CGColor;
-        self.canMerge = YES;
+ 
+        if (self.files.count > 1) {
+            [self.nMergeButton setTitleColor:[NSColor whiteColor]];
+            self.nMergeButton.layer.backgroundColor = [NSColor colorWithRed:23/255.f green:112/255.f blue:244/255.f alpha:1.f].CGColor;
+            self.canMerge = YES;
+        } else {
+            self.canMerge = NO;
+            [self.nMergeButton setTitleColor:[NSColor colorWithRed:247/255.f green:248/255.f blue:250/255.f alpha:1.f]];
+            self.nMergeButton.layer.backgroundColor = [NSColor colorWithRed:189/255.f green:223/255.f blue:253/255.f alpha:1.f].CGColor;
+        }
     } else {
         self.myBlankView.hidden = NO;
+        self.tableHeaderBox.hidden = YES;
         [_removeButton setEnabled:NO];
         [_clearButton setEnabled:NO];
         self.clearButton.image = [NSImage imageNamed:@"KMImageNameMergeDelete"];
-//        [_appendButton setEnabled:NO];
         self.canMerge = NO;
-        [self.appendButton setTitleColor:[NSColor colorWithRed:247/255.f green:248/255.f blue:250/255.f alpha:1.f]];
-        self.appendButton.layer.backgroundColor = [NSColor colorWithRed:189/255.f green:223/255.f blue:253/255.f alpha:1.f].CGColor;
+        [self.nMergeButton setTitleColor:[NSColor colorWithRed:247/255.f green:248/255.f blue:250/255.f alpha:1.f]];
+        self.nMergeButton.layer.backgroundColor = [NSColor colorWithRed:189/255.f green:223/255.f blue:253/255.f alpha:1.f].CGColor;
     }
 }
 
@@ -963,8 +974,7 @@ static NSString * const KMTableColumnSizeID = @"size";
     
     _isSuccessfully = NO;
     [_progress setHidden:NO];
-    [_cancelButton setEnabled:NO];
-//    [_appendButton setEnabled:NO];
+    [self.nCancelButton setEnabled:NO];
     self.canMerge = NO;
     [_progress startAnimation:nil];
     
@@ -978,8 +988,7 @@ static NSString * const KMTableColumnSizeID = @"size";
                 [alert runModal];
                 
                 [self->_progress setHidden:YES];
-                [self->_cancelButton setEnabled:YES];
-//                [self->_appendButton setEnabled:YES];
+                [self.nCancelButton setEnabled:YES];
                 self.canMerge = YES;
             });
             return;
@@ -1068,8 +1077,7 @@ static NSString * const KMTableColumnSizeID = @"size";
                             }
                             dispatch_async(dispatch_get_main_queue(), ^{
                                 [self->_progress setHidden:YES];
-                                [self->_cancelButton setEnabled:YES];
-//                                [self->_appendButton setEnabled:YES];
+                                [self.nCancelButton setEnabled:YES];
                                 self.canMerge = YES;
                                 
                                 if (self->_isSuccessfully) {
@@ -1113,8 +1121,7 @@ static NSString * const KMTableColumnSizeID = @"size";
                         });
                     } else {
                         [self->_progress setHidden:YES];
-                        [self->_cancelButton setEnabled:YES];
-//                        [self->_appendButton setEnabled:YES];
+                        [self.nCancelButton setEnabled:YES];
                         self.canMerge = YES;
                     }
                 }];
@@ -1123,8 +1130,7 @@ static NSString * const KMTableColumnSizeID = @"size";
     } else {
         
         [_progress setHidden:YES];
-        [_cancelButton setEnabled:YES];
-//        [_appendButton setEnabled:YES];
+        [self.nCancelButton setEnabled:YES];
         self.canMerge = YES;
         
         if (allPage) {
@@ -1160,8 +1166,7 @@ static NSString * const KMTableColumnSizeID = @"size";
                         }
                         dispatch_async(dispatch_get_main_queue(), ^{
                             [self->_progress setHidden:YES];
-                            [self->_cancelButton setEnabled:YES];
-//                            [self->_appendButton setEnabled:YES];
+                            [self.nCancelButton setEnabled:YES];
                             self.canMerge = YES;
                             
                             if (self->_isSuccessfully) {
@@ -1205,8 +1210,7 @@ static NSString * const KMTableColumnSizeID = @"size";
                     });
                 } else {
                     [self->_progress setHidden:YES];
-                    [self->_cancelButton setEnabled:YES];
-//                    [self->_appendButton setEnabled:YES];
+                    [self.nCancelButton setEnabled:YES];
                     self.canMerge = YES;
                 }
             }];

+ 43 - 11
PDF Office/PDF Office/Class/Merge/OCPart/KMPDFEditAppendWindow.xib

@@ -25,6 +25,8 @@
                 <outlet property="customSizeButton" destination="QI0-GW-5Ii" id="yJe-Zx-UXW"/>
                 <outlet property="fileNameLabel" destination="MiB-cx-nmS" id="Phd-ss-lv2"/>
                 <outlet property="myBlankView" destination="Bxz-CR-NgQ" id="fja-0n-Ywh"/>
+                <outlet property="nCancelButton" destination="0Yl-kV-CW1" id="Scw-RL-uUI"/>
+                <outlet property="nMergeButton" destination="bs2-mn-H2R" id="fcq-Eb-uca"/>
                 <outlet property="originalSizeButton" destination="cQk-Jd-o6w" id="Zoc-lI-Qum"/>
                 <outlet property="originalSizeRadio" destination="cQk-Jd-o6w" id="XMI-wo-P08"/>
                 <outlet property="pageRangeLabel" destination="P5F-ew-xgE" id="RbU-qD-3Pj"/>
@@ -35,6 +37,7 @@
                 <outlet property="progress" destination="Uex-2T-CgC" id="GaY-Fo-8ie"/>
                 <outlet property="sizeLabel" destination="4NV-bt-MWP" id="r44-AN-1mM"/>
                 <outlet property="tableHeaderBottomLine" destination="eiO-1W-3yk" id="8dz-3v-aeC"/>
+                <outlet property="tableHeaderBox" destination="7Ci-3J-z10" id="6Ma-y7-W2N"/>
                 <outlet property="tableView" destination="hj6-Zp-r0z" id="spR-sp-6TP"/>
                 <outlet property="window" destination="F0z-JX-Cv5" id="gIp-Ho-8D9"/>
             </connections>
@@ -53,13 +56,13 @@
                 <autoresizingMask key="autoresizingMask"/>
                 <subviews>
                     <scrollView borderType="none" autohidesScrollers="YES" horizontalLineScroll="122" horizontalPageScroll="10" verticalLineScroll="122" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ggk-eO-LzC">
-                        <rect key="frame" x="16" y="60" width="526" height="484"/>
+                        <rect key="frame" x="16" y="60" width="786" height="484"/>
                         <clipView key="contentView" drawsBackground="NO" id="Mfh-Ax-kRE">
-                            <rect key="frame" x="0.0" y="0.0" width="526" height="484"/>
+                            <rect key="frame" x="0.0" y="0.0" width="786" height="484"/>
                             <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                             <subviews>
                                 <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" tableStyle="plain" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" rowHeight="120" rowSizeStyle="automatic" viewBased="YES" id="hj6-Zp-r0z">
-                                    <rect key="frame" x="0.0" y="0.0" width="526" height="484"/>
+                                    <rect key="frame" x="0.0" y="0.0" width="786" height="484"/>
                                     <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                     <size key="intercellSpacing" width="3" height="2"/>
                                     <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
@@ -205,7 +208,7 @@
                         </clipView>
                         <constraints>
                             <constraint firstAttribute="height" constant="484" id="09E-fS-UGH"/>
-                            <constraint firstAttribute="width" constant="526" id="yWQ-fV-ium"/>
+                            <constraint firstAttribute="width" constant="786" id="yWQ-fV-ium"/>
                         </constraints>
                         <scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="uXJ-M9-xFS">
                             <rect key="frame" x="1" y="428" width="478" height="16"/>
@@ -217,9 +220,9 @@
                         </scroller>
                     </scrollView>
                     <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="7Ci-3J-z10">
-                        <rect key="frame" x="16" y="552" width="770" height="32"/>
+                        <rect key="frame" x="16" y="552" width="771" height="32"/>
                         <view key="contentView" id="Vig-qK-Oc8">
-                            <rect key="frame" x="0.0" y="0.0" width="770" height="32"/>
+                            <rect key="frame" x="0.0" y="0.0" width="771" height="32"/>
                             <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                             <subviews>
                                 <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="MiB-cx-nmS">
@@ -234,7 +237,7 @@
                                     </textFieldCell>
                                 </textField>
                                 <box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="eiO-1W-3yk">
-                                    <rect key="frame" x="0.0" y="-2" width="770" height="5"/>
+                                    <rect key="frame" x="0.0" y="-2" width="771" height="5"/>
                                 </box>
                                 <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="P5F-ew-xgE">
                                     <rect key="frame" x="265" y="8" width="164" height="16"/>
@@ -276,7 +279,7 @@
                         </constraints>
                     </box>
                     <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Zrt-3W-HbQ">
-                        <rect key="frame" x="754" y="16" width="32" height="32"/>
+                        <rect key="frame" x="149" y="16" width="32" height="32"/>
                         <constraints>
                             <constraint firstAttribute="height" constant="32" id="Xrm-aq-G0f"/>
                             <constraint firstAttribute="width" constant="32" id="Yw1-ck-2xV"/>
@@ -293,7 +296,7 @@
                         <rect key="frame" x="394" y="292" width="16" height="16"/>
                     </progressIndicator>
                     <box title="Box" titlePosition="noTitle" translatesAutoresizingMaskIntoConstraints="NO" id="SNg-B0-ys5">
-                        <rect key="frame" x="799" y="-4" width="7" height="606"/>
+                        <rect key="frame" x="800" y="-4" width="7" height="606"/>
                         <view key="contentView" id="0Wa-d4-jxC">
                             <rect key="frame" x="3" y="3" width="1" height="600"/>
                             <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
@@ -462,22 +465,51 @@
                             <constraint firstAttribute="width" constant="117" id="rfq-6X-EAH"/>
                         </constraints>
                     </box>
+                    <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="bs2-mn-H2R">
+                        <rect key="frame" x="670" y="16" width="118" height="32"/>
+                        <constraints>
+                            <constraint firstAttribute="width" constant="118" id="ah0-9i-KnG"/>
+                            <constraint firstAttribute="height" constant="32" id="jY3-wM-IMC"/>
+                        </constraints>
+                        <buttonCell key="cell" type="bevel" title="Button" bezelStyle="rounded" alignment="center" imageScaling="proportionallyDown" inset="2" id="368-a6-529">
+                            <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+                            <font key="font" metaFont="system"/>
+                        </buttonCell>
+                    </button>
+                    <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="0Yl-kV-CW1">
+                        <rect key="frame" x="536" y="16" width="118" height="32"/>
+                        <constraints>
+                            <constraint firstAttribute="height" constant="32" id="G2U-zj-Gri"/>
+                            <constraint firstAttribute="width" constant="118" id="xsb-Ix-mYU"/>
+                        </constraints>
+                        <buttonCell key="cell" type="bevel" title="Button" bezelStyle="rounded" alignment="center" imageScaling="proportionallyDown" inset="2" id="jeg-vR-NfJ">
+                            <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+                            <font key="font" metaFont="system"/>
+                            <string key="keyEquivalent" base64-UTF8="YES">
+Gw
+</string>
+                        </buttonCell>
+                    </button>
                 </subviews>
                 <constraints>
                     <constraint firstAttribute="bottom" secondItem="HqV-Cr-IvX" secondAttribute="bottom" constant="16" id="3xl-pe-oik"/>
                     <constraint firstItem="SNg-B0-ys5" firstAttribute="leading" secondItem="7Ci-3J-z10" secondAttribute="trailing" constant="16" id="72G-rH-m08"/>
+                    <constraint firstAttribute="trailing" secondItem="bs2-mn-H2R" secondAttribute="trailing" constant="16" id="Bfb-cd-fN2"/>
                     <constraint firstItem="SNg-B0-ys5" firstAttribute="top" secondItem="se5-gp-TjO" secondAttribute="top" id="EIV-N9-5mk"/>
                     <constraint firstAttribute="bottom" secondItem="Ggk-eO-LzC" secondAttribute="bottom" constant="60" id="FmD-vC-lz3"/>
                     <constraint firstItem="SNg-B0-ys5" firstAttribute="bottom" secondItem="se5-gp-TjO" secondAttribute="bottom" id="GbZ-tV-MXY"/>
                     <constraint firstItem="Ggk-eO-LzC" firstAttribute="leading" secondItem="se5-gp-TjO" secondAttribute="leading" constant="16" id="LEN-lk-9rV"/>
                     <constraint firstItem="HqV-Cr-IvX" firstAttribute="leading" secondItem="se5-gp-TjO" secondAttribute="leading" constant="16" id="Lia-zA-HV0"/>
+                    <constraint firstItem="bs2-mn-H2R" firstAttribute="leading" secondItem="0Yl-kV-CW1" secondAttribute="trailing" constant="16" id="N15-0u-3on"/>
                     <constraint firstAttribute="trailing" secondItem="SNg-B0-ys5" secondAttribute="trailing" id="d0q-Hn-baS"/>
-                    <constraint firstItem="SNg-B0-ys5" firstAttribute="leading" secondItem="Ggk-eO-LzC" secondAttribute="trailing" constant="260" id="gNP-Dq-gpr"/>
+                    <constraint firstItem="SNg-B0-ys5" firstAttribute="leading" secondItem="Ggk-eO-LzC" secondAttribute="trailing" constant="1" id="gNP-Dq-gpr"/>
+                    <constraint firstAttribute="bottom" secondItem="bs2-mn-H2R" secondAttribute="bottom" constant="16" id="mPi-Wn-mri"/>
                     <constraint firstItem="Uex-2T-CgC" firstAttribute="centerX" secondItem="se5-gp-TjO" secondAttribute="centerX" id="oIl-2n-ghc"/>
+                    <constraint firstItem="Zrt-3W-HbQ" firstAttribute="leading" secondItem="HqV-Cr-IvX" secondAttribute="trailing" constant="16" id="qiG-BM-Tt9"/>
                     <constraint firstItem="7Ci-3J-z10" firstAttribute="leading" secondItem="se5-gp-TjO" secondAttribute="leading" constant="16" id="sgd-dw-rOw"/>
+                    <constraint firstAttribute="bottom" secondItem="0Yl-kV-CW1" secondAttribute="bottom" constant="16" id="t2f-AF-bQ8"/>
                     <constraint firstItem="Uex-2T-CgC" firstAttribute="centerY" secondItem="se5-gp-TjO" secondAttribute="centerY" id="t3J-uR-7G2"/>
                     <constraint firstAttribute="bottom" secondItem="Zrt-3W-HbQ" secondAttribute="bottom" constant="16" id="yPE-8o-ux5"/>
-                    <constraint firstItem="SNg-B0-ys5" firstAttribute="leading" secondItem="Zrt-3W-HbQ" secondAttribute="trailing" constant="16" id="z1B-qo-uL6"/>
                     <constraint firstItem="7Ci-3J-z10" firstAttribute="top" secondItem="se5-gp-TjO" secondAttribute="top" constant="16" id="zCm-dk-fmd"/>
                 </constraints>
             </view>