From 84fdbe2ab1489786031973997f8413cd2f137375 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sun, 26 Jul 2009 12:40:34 +0000 Subject: - 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. --- Interfaces/English.lproj/ConnectionView.xib | 34 +++++++++- Interfaces/English.lproj/DBView.xib | 96 ++++++++++++++++++++++------- 2 files changed, 105 insertions(+), 25 deletions(-) (limited to 'Interfaces') diff --git a/Interfaces/English.lproj/ConnectionView.xib b/Interfaces/English.lproj/ConnectionView.xib index cdb71f80..2587aec9 100644 --- a/Interfaces/English.lproj/ConnectionView.xib +++ b/Interfaces/English.lproj/ConnectionView.xib @@ -8,7 +8,7 @@ 353.00 YES - + YES @@ -2467,6 +2467,14 @@ 5446 + + + connectionSplitViewButtonBar + + + + 5448 + @@ -4008,7 +4016,7 @@ - 5447 + 5448 @@ -4021,6 +4029,20 @@ Source/ImageAndTextCell.h + + NSObject + + IBProjectSource + Frameworks/MCPKit/MCPFoundationKit/MCPConnection.h + + + + NSObject + + IBProjectSource + Frameworks/MCPKit/MCPFoundationKit/MCPNull.h + + NSObject @@ -4030,9 +4052,13 @@ NSObject + + toggleCollapse: + id + IBProjectSource - Source/CMMCPConnection.h + Source/TablesList.h @@ -4112,6 +4138,7 @@ connectButton connectionResizeContainer connectionSplitView + connectionSplitViewButtonBar connectionView errorDetailText errorDetailWindow @@ -4135,6 +4162,7 @@ NSView NSSplitView NSView + NSView NSTextView NSWindow NSTableView diff --git a/Interfaces/English.lproj/DBView.xib b/Interfaces/English.lproj/DBView.xib index 54f9e234..ac6e568b 100644 --- a/Interfaces/English.lproj/DBView.xib +++ b/Interfaces/English.lproj/DBView.xib @@ -8,6 +8,7 @@ 353.00 YES + YES @@ -46,7 +47,7 @@ {3.40282e+38, 3.40282e+38} {780, 480} - + 256 YES @@ -345,7 +346,7 @@ {212, 145} - 512 + 528 @@ -2524,6 +2525,29 @@ 6418 + + YES + + YES + Apple HTML pasteboard type + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + Apple URL pasteboard type + CorePasteboardFlavorType 0x6D6F6F76 + CorePasteboardFlavorType 0x75726C20 + NSColor pasteboard type + NSFilenamesPboardType + NSStringPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT RTFD pasteboard type + NeXT Rich Text Format v1.0 pasteboard type + NeXT TIFF v4.0 pasteboard type + NeXT font pasteboard type + NeXT ruler pasteboard type + WebURLsWithTitlesPboardType + + {688, 14} @@ -2899,7 +2923,7 @@ -2042609409 35 - + NSImage button_action @@ -2914,10 +2938,7 @@ 1048576 2147483647 - - NSImage - button_action - + _popUpItemAction: @@ -4351,6 +4372,7 @@ {944, 550} + {{0, 0}, {1920, 1178}} {780, 502} @@ -13974,14 +13996,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 6141 - - - toggleCollapse: - - - - 6161 - updateTables: @@ -14346,6 +14360,30 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 6256 + + + tableListSplitView + + + + 6257 + + + + togglePaneCollapse: + + + + 6258 + + + + tableInfoCollapseButton + + + + 6259 + @@ -22560,8 +22598,8 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{239, 307}, {944, 550}} - {{239, 307}, {944, 550}} + {{177, 306}, {944, 550}} + {{177, 306}, {944, 550}} {{62, 352}, {845, 504}} @@ -23526,7 +23564,7 @@ Y2hhbmdlIHRoZSBvcmRlcg - 6256 + 6259 @@ -23781,6 +23819,17 @@ Y2hhbmdlIHRoZSBvcmRlcg Source/CMImageView.h + + NSObject + + toggleCollapse: + id + + + IBProjectSource + Source/TablesList.h + + NSTextView @@ -24637,6 +24686,7 @@ Y2hhbmdlIHRoZSBvcmRlcg copyTable: removeTable: renameTable: + togglePaneCollapse: truncateTable: updateTables: @@ -24650,6 +24700,7 @@ Y2hhbmdlIHRoZSBvcmRlcg id id id + id @@ -24680,6 +24731,8 @@ Y2hhbmdlIHRoZSBvcmRlcg tableDocumentInstance tableDumpInstance tableEncodingButton + tableInfoCollapseButton + tableListSplitView tableNameField tableRenameField tableRenameSheet @@ -24718,6 +24771,8 @@ Y2hhbmdlIHRoZSBvcmRlcg id id id + NSButton + NSSplitView id id id @@ -24731,10 +24786,7 @@ Y2hhbmdlIHRoZSBvcmRlcg id - - IBProjectSource - Source/TablesList.h - + TablesList -- cgit v1.2.3