aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-05-08 19:22:23 +0000
committerstuconnolly <stuart02@gmail.com>2012-05-08 19:22:23 +0000
commit1dcef9b2044edd391d8bb3a16c18dd950c4e4956 (patch)
tree2c93705cf8b3fa78a5ee64a2cf9b048bee41ef4c
parent3f22a4871f223cf92d8b7ed3e1594a50e0e6094d (diff)
downloadsequelpro-1dcef9b2044edd391d8bb3a16c18dd950c4e4956.tar.gz
sequelpro-1dcef9b2044edd391d8bb3a16c18dd950c4e4956.tar.bz2
sequelpro-1dcef9b2044edd391d8bb3a16c18dd950c4e4956.zip
Tweak edit sheet sizing.
-rw-r--r--Source/SPFieldEditorController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPFieldEditorController.m b/Source/SPFieldEditorController.m
index ccf3c77e..ff427a3c 100644
--- a/Source/SPFieldEditorController.m
+++ b/Source/SPFieldEditorController.m
@@ -340,10 +340,10 @@
[usedSheet setFrame:
NSMakeRect(sheet.origin.x, sheet.origin.y,
- (sheet.size.width > screen.width) ? screen.width - 50 : sheet.size.width,
+ (sheet.size.width > screen.width) ? screen.width : sheet.size.width,
(sheet.size.height > screen.height) ? screen.height - 100 : sheet.size.height)
display:YES];
-
+
[NSApp beginSheet:usedSheet
modalForWindow:theWindow
modalDelegate:self