mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
adjust tab button layout a bit to avoid overlaps
This commit is contained in:
parent
5d8f9d8b13
commit
8abcc566dd
2 changed files with 5 additions and 5 deletions
BIN
macosx/English.lproj/InfoWindow.nib/keyedobjects.nib
generated
BIN
macosx/English.lproj/InfoWindow.nib/keyedobjects.nib
generated
Binary file not shown.
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue