mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
Change filter button spacing and sizing a little.
This commit is contained in:
parent
d439df674c
commit
f52a35f51b
4 changed files with 8 additions and 5 deletions
|
@ -151,6 +151,8 @@
|
|||
|
||||
[normalAttributes release];
|
||||
[highlightedAttributes release];
|
||||
|
||||
//NSLog(@"%@ %f", text, textSizeBold.width);
|
||||
}
|
||||
|
||||
- (void) mouseEntered: (NSEvent *) event
|
||||
|
|
|
@ -222,10 +222,11 @@ static void sleepCallBack(void * controller, io_service_t y,
|
|||
//set filter
|
||||
fFilterType = [[fDefaults stringForKey: @"Filter"] retain];
|
||||
|
||||
[fNoFilterButton setText: @"All"];
|
||||
[fPauseFilterButton setText: @"Paused"];
|
||||
[fSeedFilterButton setText: @"Seeding"];
|
||||
[fDownloadFilterButton setText: @"Downloading"];
|
||||
//button width should be 9 pixels surrounding text length
|
||||
[fNoFilterButton setText: @"All"]; //16.64
|
||||
[fDownloadFilterButton setText: @"Downloading"]; //81.69
|
||||
[fSeedFilterButton setText: @"Seeding"]; //48.57
|
||||
[fPauseFilterButton setText: @"Paused"]; //44.06
|
||||
|
||||
NSMenuItem * currentFilterItem;
|
||||
BarButton * currentFilterButton;
|
||||
|
|
2
macosx/English.lproj/MainMenu.nib/info.nib
generated
2
macosx/English.lproj/MainMenu.nib/info.nib
generated
|
@ -11,7 +11,7 @@
|
|||
<key>1480</key>
|
||||
<string>364 490 420 60 0 0 1152 842 </string>
|
||||
<key>1603</key>
|
||||
<string>242 428 477 67 0 0 1152 842 </string>
|
||||
<string>337 544 477 67 0 0 1152 842 </string>
|
||||
<key>29</key>
|
||||
<string>9 780 451 44 0 0 1152 842 </string>
|
||||
<key>456</key>
|
||||
|
|
BIN
macosx/English.lproj/MainMenu.nib/keyedobjects.nib
generated
BIN
macosx/English.lproj/MainMenu.nib/keyedobjects.nib
generated
Binary file not shown.
Loading…
Reference in a new issue