1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-03 04:53:27 +00:00

make the toolbar buttons a pixel wider

This commit is contained in:
Mitchell Livingston 2007-11-30 18:18:35 +00:00
parent f2a08d272f
commit 889df5413b

View file

@ -2580,12 +2580,10 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
[button setBezelStyle: NSTexturedRoundedBezelStyle]; [button setBezelStyle: NSTexturedRoundedBezelStyle];
[button setStringValue: @""]; [button setStringValue: @""];
NSSize buttonSize = NSMakeSize(35.0, 25.0); NSSize buttonSize = NSMakeSize(36.0, 25.0);
[item setMinSize: buttonSize]; [item setMinSize: buttonSize];
[item setMaxSize: buttonSize]; [item setMaxSize: buttonSize];
NSImage * image;
if ([ident isEqualToString: TOOLBAR_CREATE]) if ([ident isEqualToString: TOOLBAR_CREATE])
{ {
[item setLabel: NSLocalizedString(@"Create", "Create toolbar item -> label")]; [item setLabel: NSLocalizedString(@"Create", "Create toolbar item -> label")];