mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-23 15:05:52 +00:00
Added a missing import to the new CPTabView, and fixed the import for the test.
This commit is contained in:
1 parent
dd89a98242
commit
9777e4c52f
2 files changed
+4
-2
No files matched your search
@@ -1,4 +1,5 @@
|
||||
@import <AppKit/CPView.j>
|
||||
@import <AppKit/CPTabViewItem.j>
|
||||
|
||||
/*
|
||||
Places tabs on top with a bezeled border.
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
*/
|
||||
|
||||
@import <Foundation/CPObject.j>
|
||||
@import <AppKit/CPTabView2.j>
|
||||
@import <AppKit/CPTabView.j>
|
||||
|
||||
|
||||
@implementation AppController : CPObject
|
||||
|
||||
@@ -18,7 +19,7 @@
|
||||
|
||||
var tabView = [[CPTabView alloc] initWithFrame:CGRectMake(50,50,400,400)];
|
||||
[tabView setTabViewType:CPNoTabsBezelBorder];
|
||||
[tabView setTabViewType:CPBottomTabsBezelBorder];
|
||||
[tabView setTabViewType:CPTopTabsBezelBorder];
|
||||
|
||||
var view = [[CPView alloc] initWithFrame:CGRectMake(20, 20, 200, 200)];
|
||||
[view addSubview:[CPTextField labelWithTitle:@"First"]];
|
||||
|
||||
Reference in new issue
Block a user