adjust tab button layout a bit to avoid overlaps

This commit is contained in:
Mitchell Livingston 2007-10-07 04:16:58 +00:00
parent 5d8f9d8b13
commit 8abcc566dd
2 changed files with 5 additions and 5 deletions

View File

@ -799,11 +799,6 @@ typedef enum
default:
return;
}
//change selected tab item
if (oldTabTag != INVALID)
[(InfoTabButtonCell *)[fTabMatrix cellWithTag: oldTabTag] setSelectedTab: NO];
[(InfoTabButtonCell *)[fTabMatrix selectedCell] setSelectedTab: YES];
[[NSUserDefaults standardUserDefaults] setObject: identifier forKey: @"InspectorSelected"];
@ -879,6 +874,11 @@ typedef enum
[window setFrame: windowRect display: YES animate: oldTabTag != INVALID];
[[window contentView] addSubview: view];
[view setHidden: NO];
//change selected tab item
if (oldTabTag != INVALID)
[(InfoTabButtonCell *)[fTabMatrix cellWithTag: oldTabTag] setSelectedTab: NO];
[(InfoTabButtonCell *)[fTabMatrix selectedCell] setSelectedTab: YES];
}
- (void) setNextTab