mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-25 08:59:24 +00:00
Ui for the password wizzard now works more or less.
Password creation needs to be finalized
This commit is contained in:
@@ -57,8 +57,21 @@
|
||||
}
|
||||
if(!self.passwordCreatorController) {
|
||||
self.passwordCreatorController = [[[MPPasswordCreatorViewController alloc] init] autorelease];
|
||||
NSView *creatorView = [_passwordCreatorController view];
|
||||
//NSView *contentView = [_passwordCreatorWindow contentView];
|
||||
[self.passwordCreatorWindow setContentView:creatorView];
|
||||
//[contentView addSubview:creatorView];
|
||||
// [[_passwordCreatorWindow contentView] addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"H:|[creatorView]|"
|
||||
// options:0
|
||||
// metrics:nil
|
||||
// views:NSDictionaryOfVariableBindings(creatorView)]];
|
||||
// [[_passwordCreatorWindow contentView] addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|[creatorView]|"
|
||||
// options:0
|
||||
// metrics:nil
|
||||
// views:NSDictionaryOfVariableBindings(creatorView)]];
|
||||
// [contentView layoutSubtreeIfNeeded];
|
||||
}
|
||||
[self.passwordCreatorWindow setContentView:[self.passwordCreatorController view]];
|
||||
|
||||
[self.passwordCreatorWindow makeKeyAndOrderFront:self.passwordCreatorWindow];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user