From 97a766517bb5af5cf5fe6ed270d5dd0b20a55ee5 Mon Sep 17 00:00:00 2001 From: Antoine Mercadal Date: Wed, 9 Jan 2013 10:54:51 -0800 Subject: [PATCH 1/2] Set content-margin size to zero for CPBox --- AppKit/Themes/Aristo2/ThemeDescriptors.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/Themes/Aristo2/ThemeDescriptors.j b/AppKit/Themes/Aristo2/ThemeDescriptors.j index ec826a6c3..cfad2c9ec 100644 --- a/AppKit/Themes/Aristo2/ThemeDescriptors.j +++ b/AppKit/Themes/Aristo2/ThemeDescriptors.j @@ -1714,7 +1714,7 @@ var themedButtonValues = nil, [@"inner-shadow-offset", CPSizeMakeZero()], [@"inner-shadow-color", [CPColor blackColor]], [@"inner-shadow-size", 6.0], - [@"content-margin", CPSizeMake(10.0, 10.0)] + [@"content-margin", CPSizeMakeZero()] ]; [self registerThemeValues:themeValues forView:box]; From 295eedc0b9eac19dd82009a778f049c6d8d9a39f Mon Sep 17 00:00:00 2001 From: Antoine Mercadal Date: Wed, 9 Jan 2013 11:58:42 -0800 Subject: [PATCH 2/2] Add missing import in NSMenuItem.j --- Tools/nib2cib/NSMenuItem.j | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/nib2cib/NSMenuItem.j b/Tools/nib2cib/NSMenuItem.j index bc7b8b740..2b4a6f222 100644 --- a/Tools/nib2cib/NSMenuItem.j +++ b/Tools/nib2cib/NSMenuItem.j @@ -22,6 +22,7 @@ @import +@import "NSButton.j" @import "NSEvent.j" @import "NSMenu.j"