diff options
author | stuconnolly <stuart02@gmail.com> | 2012-05-08 19:22:23 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-05-08 19:22:23 +0000 |
commit | 1dcef9b2044edd391d8bb3a16c18dd950c4e4956 (patch) | |
tree | 2c93705cf8b3fa78a5ee64a2cf9b048bee41ef4c /Source | |
parent | 3f22a4871f223cf92d8b7ed3e1594a50e0e6094d (diff) | |
download | sequelpro-1dcef9b2044edd391d8bb3a16c18dd950c4e4956.tar.gz sequelpro-1dcef9b2044edd391d8bb3a16c18dd950c4e4956.tar.bz2 sequelpro-1dcef9b2044edd391d8bb3a16c18dd950c4e4956.zip |
Tweak edit sheet sizing.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPFieldEditorController.m | 4 |
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 |