From b312414a21b97a101a527ae91a8f9a5ac55b1a0c Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Mon, 8 Mar 2010 16:22:09 +0000 Subject: Fix user manager splitview maximum and minimum sizes. --- Source/SPUserManager.m | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Source/SPUserManager.m') diff --git a/Source/SPUserManager.m b/Source/SPUserManager.m index 317ca848..0cc2b125 100644 --- a/Source/SPUserManager.m +++ b/Source/SPUserManager.m @@ -30,6 +30,7 @@ #import "SPArrayAdditions.h" #import "SPStringAdditions.h" #import "SPGrowlController.h" +#import "SPConnectionController.h" #define COLUMNIDNAME @"NameColumn" @@ -122,6 +123,9 @@ [imageAndTextCell setEditable:NO]; [tableColumn setDataCell:imageAndTextCell]; + // Set the button delegate + [splitViewButtonBar setSplitViewDelegate:self]; + [self _initializeUsers]; [self _initializeSchemaPrivs]; [super windowDidLoad]; @@ -1183,7 +1187,7 @@ */ - (CGFloat)splitView:(NSSplitView *)sender constrainMaxCoordinate:(CGFloat)proposedMax ofSubviewAt:(NSInteger)offset { - return (proposedMax - 220); + return (proposedMax - 555); } /** @@ -1196,6 +1200,7 @@ #pragma mark - #pragma mark TableView Delegate Methods + - (void)tableViewSelectionDidChange:(NSNotification *)notification { if ([notification object] == schemasTableView) -- cgit v1.2.3