From fa1441cf71dcdd563a4c92ac5ce9e0435531d5c1 Mon Sep 17 00:00:00 2001 From: Antoine Mercadal Date: Wed, 25 Jul 2012 12:00:09 -0700 Subject: [PATCH] small fix in theme to avoid 1px offset when editing a CPTextField --- AppKit/Themes/Aristo/ThemeDescriptors.j | 1 + 1 file changed, 1 insertion(+) diff --git a/AppKit/Themes/Aristo/ThemeDescriptors.j b/AppKit/Themes/Aristo/ThemeDescriptors.j index e1652f4f3..b2e52cbfc 100755 --- a/AppKit/Themes/Aristo/ThemeDescriptors.j +++ b/AppKit/Themes/Aristo/ThemeDescriptors.j @@ -918,6 +918,7 @@ var themedButtonValues = nil, // with border [@"bezel-inset", CGInsetMakeZero(), CPThemeStateBezeled], [@"content-inset", CGInsetMake(8.0, 7.0, 7.0, 8.0), CPThemeStateBezeled], + [@"content-inset", CGInsetMake(8.0, 7.0, 7.0, 9.0), CPThemeStateBezeled | CPThemeStateEditing], [@"text-color", textDisabledColor, CPThemeStateBezeled | CPThemeStateDisabled], [@"text-color", placeholderColor, CPTextFieldStatePlaceholder],