diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-01-11 08:02:11 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-01-11 08:02:11 +0000 |
commit | a9352403c15cadb9b5a26299254d6d74ab3c5860 (patch) | |
tree | 1f60cdd8c626dbf0178e5fc495b1a93933a07fd1 | |
parent | bd1c8a535691781746f1a1ff4ea9d215744061c5 (diff) | |
download | sequelpro-a9352403c15cadb9b5a26299254d6d74ab3c5860.tar.gz sequelpro-a9352403c15cadb9b5a26299254d6d74ab3c5860.tar.bz2 sequelpro-a9352403c15cadb9b5a26299254d6d74ab3c5860.zip |
• fixed showing the table list's search bar view by setting its initial splitview height to 1 instead of 0 to ensure that a next connection window which has more than 20 tables is showing the search bar as well
-rw-r--r-- | Source/TablesList.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/TablesList.m b/Source/TablesList.m index 2846a85a..b5dbc110 100644 --- a/Source/TablesList.m +++ b/Source/TablesList.m @@ -1732,7 +1732,9 @@ // Start the table filter list collapsed if ([tableListFilterSplitView collapsibleSubview]) { [tableListFilterSplitView setValue:[NSNumber numberWithFloat:[tableListFilterSplitView collapsibleSubview].frame.size.height] forKey:@"uncollapsedSize"]; - [[tableListFilterSplitView collapsibleSubview] setFrameSize:NSMakeSize([tableListFilterSplitView collapsibleSubview].frame.size.width, 0)]; + // Set search bar view to the height of 1 instead of 0 to ensure that the view will be visible + // after opening a next connection window which has more than 20 tables + [[tableListFilterSplitView collapsibleSubview] setFrameSize:NSMakeSize([tableListFilterSplitView collapsibleSubview].frame.size.width, 1)]; [tableListFilterSplitView setCollapsibleSubviewCollapsed:YES]; } |