From a9352403c15cadb9b5a26299254d6d74ab3c5860 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Mon, 11 Jan 2010 08:02:11 +0000 Subject: =?UTF-8?q?=E2=80=A2=20fixed=20showing=20the=20table=20list's=20se?= =?UTF-8?q?arch=20bar=20view=20by=20setting=20its=20initial=20splitview=20?= =?UTF-8?q?height=20to=201=20instead=20of=200=20to=20ensure=20that=20a=20n?= =?UTF-8?q?ext=20connection=20window=20which=20has=20more=20than=2020=20ta?= =?UTF-8?q?bles=20is=20showing=20the=20search=20bar=20as=20well?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/TablesList.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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]; } -- cgit v1.2.3