From e53ac469d03b6f8ae5ca4ef31be07676638f01d3 Mon Sep 17 00:00:00 2001 From: abhibeckert Date: Tue, 23 Sep 2008 21:20:58 +0000 Subject: #52 table structure view now has proper titlecase columns and all columns are now left aligned --- English.lproj/DBView.xib | 30 +++++++++++++++--------------- TableSource.m | 5 ----- 2 files changed, 15 insertions(+), 20 deletions(-) diff --git a/English.lproj/DBView.xib b/English.lproj/DBView.xib index 60a71711..874edf9a 100644 --- a/English.lproj/DBView.xib +++ b/English.lproj/DBView.xib @@ -9,7 +9,7 @@ YES - + YES @@ -696,7 +696,7 @@ -2147483392 - {{-26, 0}, {16, 17}} + {{598, 0}, {16, 17}} @@ -855,7 +855,7 @@ Length - 5.300000e+01 + 5.400000e+01 1.000000e+01 1.000000e+03 @@ -868,7 +868,7 @@ 337772096 - 67241984 + 133120 Text Cell @@ -882,13 +882,13 @@ unsigned - 5.300000e+01 + 5.400000e+01 1.000000e+01 1.000000e+03 67239424 0 - unsigned + Unsigned @@ -930,7 +930,7 @@ 67239424 0 - zerofill + Zerofill @@ -963,7 +963,7 @@ 67239424 0 - binary + Binary @@ -1076,7 +1076,7 @@ Key - 5.300000e+01 + 5.200000e+01 1.000000e+01 1.000000e+03 @@ -1102,7 +1102,7 @@ Default - 5.300000e+01 + 4.100000e+01 1.000000e+01 1.000000e+03 @@ -1238,7 +1238,7 @@ -2147483392 - {{85, 17}, {15, 68}} + {{598, 17}, {15, 238}} _doScroller: @@ -1247,12 +1247,12 @@ -2147483392 - {{1, 255}, {612, 15}} + {{1, 255}, {597, 15}} 1 _doScroller: - 5.469613e-01 + 9.951220e-01 @@ -16943,9 +16943,9 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin - {{27, 105}, {845, 504}} + {{-37, 136}, {845, 504}} com.apple.InterfaceBuilder.CocoaPlugin - {{27, 105}, {845, 504}} + {{-37, 136}, {845, 504}} {{62, 352}, {845, 504}} diff --git a/TableSource.m b/TableSource.m index 929c4c04..69fb3758 100644 --- a/TableSource.m +++ b/TableSource.m @@ -467,11 +467,6 @@ sets the connection (received from TableDocument) and makes things that have to //set up tableView [tableSourceView registerForDraggedTypes:[NSArray arrayWithObjects:@"SequelProPasteboard", nil]]; -// [[[tableSourceView tableColumnWithIdentifier:@"Null"] dataCell] addItemsWithTitles:[NSArray arrayWithObjects:@"YES", @"NO", nil]]; - [[[tableSourceView tableColumnWithIdentifier:@"unsigned"] dataCell] setImagePosition:NSImageOnly]; - [[[tableSourceView tableColumnWithIdentifier:@"zerofill"] dataCell] setImagePosition:NSImageOnly]; - [[[tableSourceView tableColumnWithIdentifier:@"binary"] dataCell] setImagePosition:NSImageOnly]; - while ( (indexColumn = [indexColumnsEnumerator nextObject]) ) { if ( [prefs boolForKey:@"useMonospacedFonts"] ) { [[indexColumn dataCell] setFont:[NSFont fontWithName:@"Monaco" size:10]]; -- cgit v1.2.3