From 1dcef9b2044edd391d8bb3a16c18dd950c4e4956 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Tue, 8 May 2012 19:22:23 +0000 Subject: Tweak edit sheet sizing. --- Source/SPFieldEditorController.m | 4 ++-- 1 file 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 -- cgit v1.2.3