diff options
author | Johan Paulsson <gonz@users.sourceforge.net> | 2013-01-24 16:30:02 +0000 |
---|---|---|
committer | Johan Paulsson <gonz@users.sourceforge.net> | 2013-01-24 16:30:02 +0000 |
commit | 702a3875c5c7c5c937e55d50039ccb0c7bced754 (patch) | |
tree | ee41f8802ec6b7904de7921fb97fa7f262e129aa /tikzit/src/osx/PropertyInspectorController.m | |
parent | 310d4379dd0f439e9a988c3202add12021384690 (diff) |
Anchor support for the parser and osx gui
Diffstat (limited to 'tikzit/src/osx/PropertyInspectorController.m')
-rw-r--r-- | tikzit/src/osx/PropertyInspectorController.m | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tikzit/src/osx/PropertyInspectorController.m b/tikzit/src/osx/PropertyInspectorController.m index 8254949..1411549 100644 --- a/tikzit/src/osx/PropertyInspectorController.m +++ b/tikzit/src/osx/PropertyInspectorController.m @@ -22,6 +22,7 @@ @synthesize stylePaletteController; @synthesize selectedNodes, selectedEdges; +@synthesize sourceAnchorNames, targetAnchorNames; - (id)initWithWindowNibName:(NSString *)windowNibName { [super initWithWindowNibName:windowNibName]; @@ -50,8 +51,10 @@ name:@"NSWindowDidBecomeMainNotification" object:nil]; - - + [self setSourceAnchorNames: [[NSMutableArray alloc] initWithArray: [@"north south west east" componentsSeparatedByString:@" "]]]; + + [self setTargetAnchorNames: [[NSMutableArray alloc] initWithArray:[@"north south west east" componentsSeparatedByString:@" "]]]; + [[self window] setLevel:NSNormalWindowLevel]; [self showWindow:self]; |