From f7ef182d330df8b37cab2ce78582bd894acf0b1e Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Mon, 30 Aug 2010 14:24:46 -0700 Subject: [PATCH] Add 3px padding to the right of menu bar icons --- AppKit/CPMenuItem/_CPMenuItemMenuBarView.j | 1 + 1 file changed, 1 insertion(+) diff --git a/AppKit/CPMenuItem/_CPMenuItemMenuBarView.j b/AppKit/CPMenuItem/_CPMenuItemMenuBarView.j index 8393dedd4..4490c669e 100644 --- a/AppKit/CPMenuItem/_CPMenuItemMenuBarView.j +++ b/AppKit/CPMenuItem/_CPMenuItemMenuBarView.j @@ -62,6 +62,7 @@ var SelectionColor = nil, _imageAndTextView = [[_CPImageAndTextView alloc] initWithFrame:CGRectMake(HORIZONTAL_MARGIN, 0.0, 0.0, 0.0)]; [_imageAndTextView setImagePosition:CPImageLeft]; + [_imageAndTextView setImageOffset:3.0]; [_imageAndTextView setTextShadowOffset:CGSizeMake(0.0, 1.0)]; [_imageAndTextView setAutoresizingMask:CPViewMinYMargin | CPViewMaxYMargin];