From a9b68f7c398801c975e60f2d02e40c75bb42a7ee Mon Sep 17 00:00:00 2001 From: Antoine Mercadal Date: Wed, 23 Jan 2013 16:37:33 -0800 Subject: [PATCH] Remove a default inset of 2.0 for labels --- AppKit/CPTextField.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPTextField.j b/AppKit/CPTextField.j index a767710bf..9def02cd6 100644 --- a/AppKit/CPTextField.j +++ b/AppKit/CPTextField.j @@ -205,7 +205,7 @@ CPTextFieldStatePlaceholder = CPThemeState("placeholder"); + (id)themeAttributes { - return [CPDictionary dictionaryWithObjects:[_CGInsetMakeZero(), _CGInsetMake(2.0, 2.0, 2.0, 2.0), [CPNull null]] + return [CPDictionary dictionaryWithObjects:[_CGInsetMakeZero(), _CGInsetMakeZero(), [CPNull null]] forKeys:[@"bezel-inset", @"content-inset", @"bezel-color"]]; }