From bb7b621a0e4bad1380e122cf155409e1838fe748 Mon Sep 17 00:00:00 2001 From: michael starke Date: Sat, 15 Jun 2013 13:15:55 +0200 Subject: [PATCH] Minor layout fixes --- MacPass/Base.lproj/InspectorView.xib | 27 +++- MacPass/MPInspectorViewController.m | 4 +- MacPass/MacPass-Info.plist | 2 +- MacPass/PasswordCreatorView.xib | 217 ++++++++++++++------------- MacPass/PasswordCreatorWindow.xib | 2 +- 5 files changed, 138 insertions(+), 114 deletions(-) diff --git a/MacPass/Base.lproj/InspectorView.xib b/MacPass/Base.lproj/InspectorView.xib index fc565553..b24b7cfe 100644 --- a/MacPass/Base.lproj/InspectorView.xib +++ b/MacPass/Base.lproj/InspectorView.xib @@ -332,7 +332,6 @@ {265, 30} - _NS:9 HNHGradientView @@ -456,6 +455,14 @@ 711 + + + generatePasswordButton + + + + 733 + @@ -1647,7 +1654,7 @@ - 732 + 733 @@ -1694,9 +1701,21 @@ MPInspectorViewController MPViewController + + _popUpPasswordGenerator: + id + + + _popUpPasswordGenerator: + + _popUpPasswordGenerator: + id + + NSTextField HNHGradientView + NSButton MPPopupImageView NSTextField NSTextField @@ -1713,6 +1732,10 @@ bottomBar HNHGradientView + + generatePasswordButton + NSButton + itemImageView MPPopupImageView diff --git a/MacPass/MPInspectorViewController.m b/MacPass/MPInspectorViewController.m index 6f7055d6..d190978b 100644 --- a/MacPass/MPInspectorViewController.m +++ b/MacPass/MPInspectorViewController.m @@ -28,8 +28,7 @@ @property (assign, nonatomic) BOOL showsEntry; @property (retain) NSPopover *activePopover; -@property (retain) NSLayoutConstraint *showConstraint; -@property (retain) NSLayoutConstraint *hideConstraint; +@property (assign) IBOutlet NSButton *generatePasswordButton; @end @@ -150,6 +149,7 @@ [self.passwordTextField setEnabled:enabled]; [self.usernameTextField setEnabled:enabled]; [self.URLTextField setEnabled:enabled]; + [self.generatePasswordButton setEnabled:enabled]; } diff --git a/MacPass/MacPass-Info.plist b/MacPass/MacPass-Info.plist index 1983eac9..f33ed4d1 100644 --- a/MacPass/MacPass-Info.plist +++ b/MacPass/MacPass-Info.plist @@ -48,7 +48,7 @@ CFBundleSignature ???? CFBundleVersion - CFD + D06 LSMinimumSystemVersion ${MACOSX_DEPLOYMENT_TARGET} NSHumanReadableCopyright diff --git a/MacPass/PasswordCreatorView.xib b/MacPass/PasswordCreatorView.xib index 7caf40c3..f91c215b 100644 --- a/MacPass/PasswordCreatorView.xib +++ b/MacPass/PasswordCreatorView.xib @@ -114,6 +114,7 @@ {{182, 18}, {100, 25}} + _NS:22 YES @@ -445,7 +446,6 @@ _NS:9 YES - 1 @@ -665,6 +665,54 @@ 1 + + + 3 + 1 + + 4 + 1 + + 16 + + 1000 + + 9 + 40 + 3 + + + + 6 + 0 + + 6 + 1 + + 20 + + 1000 + + 8 + 29 + 3 + + + + 4 + 0 + + 4 + 1 + + 20 + + 1000 + + 9 + 40 + 3 + 3 @@ -793,54 +841,6 @@ 40 3 - - - 3 - 1 - - 4 - 1 - - 16 - - 1000 - - 9 - 40 - 3 - - - - 6 - 0 - - 6 - 1 - - 20 - - 1000 - - 8 - 29 - 3 - - - - 4 - 0 - - 4 - 1 - - 20 - - 1000 - - 9 - 40 - 3 - 5 @@ -1045,40 +1045,6 @@ - - 148 - - - - - - 7 - 0 - - 0 - 1 - - 58 - - 1000 - - 9 - 40 - 1 - - - - - - 149 - - - - - 151 - - - 152 @@ -1087,12 +1053,12 @@ 7 - 1 + 0 0 1 - 100 + 160 1000 @@ -1172,11 +1138,6 @@ - - 283 - - - 332 @@ -1558,11 +1519,6 @@ - - 191 - - - 158 @@ -1708,11 +1664,6 @@ - - 585 - - - 414 @@ -1724,15 +1675,64 @@ - 605 - - + 585 + + + + + 283 + + + + + 148 + + + + + + 7 + 0 + + 0 + 1 + + 58 + + 1000 + + 9 + 40 + 1 + + + 606 + + 191 + + + + + 151 + + + + + 605 + + + + + 149 + + + @@ -1752,9 +1752,6 @@ - - - @@ -1763,6 +1760,9 @@ + + + com.apple.InterfaceBuilder.CocoaPlugin @@ -1773,11 +1773,12 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin + HNHRoundedTextFieldCell com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -1883,7 +1884,7 @@ - 607 + 612 diff --git a/MacPass/PasswordCreatorWindow.xib b/MacPass/PasswordCreatorWindow.xib index b2651814..3555b728 100644 --- a/MacPass/PasswordCreatorWindow.xib +++ b/MacPass/PasswordCreatorWindow.xib @@ -33,7 +33,7 @@ NSApplication - 15 + 7 2 {{196, 240}, {338, 216}} 1618477056