Skip to content

Commit

Permalink
Fixed AutoResizingMask to flx to all forms of masks thanks Diego
Browse files Browse the repository at this point in the history
  • Loading branch information
Kieran authored and Kieran committed Jan 8, 2013
1 parent 56d7893 commit 041e826
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Class/KLNoteViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,12 @@ -(id) initWithNoteViewController: (KLNoteViewController*) noteView navigationCon
if (self = [super initWithFrame: navigationController.view.bounds]) {
//Initialize the view's properties
[self setAutoresizesSubviews:YES];
[self setAutoresizingMask: UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth];
[self setAutoresizingMask: UIViewAutoresizingFlexibleBottomMargin |
UIViewAutoresizingFlexibleHeight |
UIViewAutoresizingFlexibleLeftMargin |
UIViewAutoresizingFlexibleRightMargin |
UIViewAutoresizingFlexibleTopMargin |
UIViewAutoresizingFlexibleWidth];

[self addSubview: navigationController.view];

Expand Down
Binary file not shown.

0 comments on commit 041e826

Please sign in to comment.