diff options
author | stuconnolly <stuart02@gmail.com> | 2009-08-01 17:08:19 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2009-08-01 17:08:19 +0000 |
commit | 61c1ffe21ce73752bc195e0312a6a851808601e6 (patch) | |
tree | 4603850751314ceec5afc0f4a222a5596b423674 /Source/TableContent.m | |
parent | cccabb7ade09b52ef0fde887533b74c7b73495a3 (diff) | |
download | sequelpro-61c1ffe21ce73752bc195e0312a6a851808601e6.tar.gz sequelpro-61c1ffe21ce73752bc195e0312a6a851808601e6.tar.bz2 sequelpro-61c1ffe21ce73752bc195e0312a6a851808601e6.zip |
Put the table content filter in a split view so the field name drop down and search field can be resized. Addresses issue #339.
Diffstat (limited to 'Source/TableContent.m')
-rw-r--r-- | Source/TableContent.m | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m index 263b48dd..d596eb7b 100644 --- a/Source/TableContent.m +++ b/Source/TableContent.m @@ -2033,6 +2033,24 @@ } #pragma mark - +#pragma mark SplitView delegate methods + +- (BOOL)splitView:(NSSplitView *)sender canCollapseSubview:(NSView *)subview +{ + return NO; +} + +- (float)splitView:(NSSplitView *)sender constrainMaxCoordinate:(float)proposedMax ofSubviewAt:(int)offset +{ + return (proposedMax - 150); +} + +- (float)splitView:(NSSplitView *)sender constrainMinCoordinate:(float)proposedMin ofSubviewAt:(int)offset +{ + return (proposedMin + 200); +} + +#pragma mark - /* * Trap the enter and escape keys, overriding default behaviour and continuing/ending editing, |