uncomment resizing code for localizations post-2.7

This commit is contained in:
Mitchell Livingston
2012-09-26 18:59:34 +00:00
parent ab0a1de8a4
commit 7a3f6e6010
3 changed files with 4 additions and 8 deletions

View File

@@ -64,7 +64,7 @@
[[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(updateOptionsNotification:) name: @"UpdateOptionsNotification" object: nil];
#warning remove when 10.7-only with auto layout
/*const CGFloat padding = 6.0; //this shows as 8 in IB
const CGFloat padding = 6.0; //this shows as 8 in IB
[fPrioritySectionLabel sizeToFit];
[fPriorityLabel sizeToFit];
NSRect priorityPopUpFrame = [fPriorityPopUp frame];
@@ -128,7 +128,7 @@
[fPeersConnectLabel sizeToFit];
NSRect peersConnectLabelFrame = [fPeersConnectLabel frame];
peersConnectLabelFrame.origin.x = NSMaxX(peersConnectFrame) + padding;
[fPeersConnectLabel setFrame: peersConnectLabelFrame];*/
[fPeersConnectLabel setFrame: peersConnectLabelFrame];
}
- (void) dealloc