diff options
author | rowanbeentje <rowan@beent.je> | 2009-07-26 12:40:34 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-07-26 12:40:34 +0000 |
commit | 84fdbe2ab1489786031973997f8413cd2f137375 (patch) | |
tree | 6c2582eb2eb4dea292c53f621867498f0a8fbba6 /Frameworks/BWToolkitFramework.framework/BWSplitView.m | |
parent | b9519867ed83d228e16937ae77c1adbba1676c79 (diff) | |
download | sequelpro-84fdbe2ab1489786031973997f8413cd2f137375.tar.gz sequelpro-84fdbe2ab1489786031973997f8413cd2f137375.tar.bz2 sequelpro-84fdbe2ab1489786031973997f8413cd2f137375.zip |
- Tweak table information panel to show scrollbars if it's resized to a position that would hide content
- Store collapse state of table information panel in preferences
- Apply a double fix for BWSplitView/NSSplitView+BWAnchoredButtonBar not informing delegates of resizes - correctly inform original BWSplitView delegates of resizes, and allow BWAnchoredButtonBar registered delegates to recieve the original split view resize notifications. This fixes database menu resizing in synch with splitview resizing for improved/consistent look and feel.
Diffstat (limited to 'Frameworks/BWToolkitFramework.framework/BWSplitView.m')
-rw-r--r-- | Frameworks/BWToolkitFramework.framework/BWSplitView.m | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Frameworks/BWToolkitFramework.framework/BWSplitView.m b/Frameworks/BWToolkitFramework.framework/BWSplitView.m index 08164931..a3c20dbf 100644 --- a/Frameworks/BWToolkitFramework.framework/BWSplitView.m +++ b/Frameworks/BWToolkitFramework.framework/BWSplitView.m @@ -683,6 +683,12 @@ static float scaleFactor = 1.0f; } [self setNeedsDisplay:YES]; + + // Tell the original delegate to update if appropriate + if (![secondaryDelegate isKindOfClass:NSClassFromString(@"BWAnchoredButtonBar")] && + [secondaryDelegate respondsToSelector:@selector(splitViewDidResizeSubviews:)]) { + [secondaryDelegate splitViewDidResizeSubviews:aNotification]; + } } #pragma mark - Resize Subviews Delegate Method and Helper Methods |