1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +00:00

Change filter button spacing and sizing a little.

This commit is contained in:
Mitchell Livingston 2006-07-17 21:40:49 +00:00
parent d439df674c
commit f52a35f51b
4 changed files with 8 additions and 5 deletions

View file

@ -151,6 +151,8 @@
[normalAttributes release];
[highlightedAttributes release];
//NSLog(@"%@ %f", text, textSizeBold.width);
}
- (void) mouseEntered: (NSEvent *) event

View file

@ -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;

View file

@ -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>

Binary file not shown.