mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
don't do layout in code until localizations are updated in 2.8
This commit is contained in:
@@ -63,6 +63,8 @@
|
||||
[[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(setGlobalLabels) name: @"UpdateGlobalOptions" object: nil];
|
||||
[[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(updateOptionsNotification:) name: @"UpdateOptionsNotification" object: nil];
|
||||
|
||||
#warning enable after 2.7
|
||||
/*
|
||||
#warning remove when 10.7-only with auto layout
|
||||
const CGFloat padding = 6.0; //this shows as 8 in IB
|
||||
[fPrioritySectionLabel sizeToFit];
|
||||
@@ -128,7 +130,7 @@
|
||||
[fPeersConnectLabel sizeToFit];
|
||||
NSRect peersConnectLabelFrame = [fPeersConnectLabel frame];
|
||||
peersConnectLabelFrame.origin.x = NSMaxX(peersConnectFrame) + padding;
|
||||
[fPeersConnectLabel setFrame: peersConnectLabelFrame];
|
||||
[fPeersConnectLabel setFrame: peersConnectLabelFrame];*/
|
||||
}
|
||||
|
||||
- (void) dealloc
|
||||
|
||||
Reference in New Issue
Block a user