Adjust the layout

This commit is contained in:
Frank Denis
2012-10-09 14:14:08 -07:00
parent 6285a75499
commit bf0d5a0eb5
3 changed files with 31 additions and 13 deletions
+2 -1
View File
@@ -56,12 +56,13 @@ typedef enum {
@property (nonatomic, retain) IBOutlet WebView *aboutWebView;
@property (nonatomic, retain) IBOutlet NSTextFieldCell *staticResolversTextField;
@property (nonatomic, retain) IBOutlet NSButton *parentalControlsButton;
@property (nonatomic, retain) IBOutlet NSButtonCell *queryLoggingButton;
@property (nonatomic, retain) IBOutlet NSButton *lockinButton;
@property (nonatomic, retain) IBOutlet NSTextField *blacklistIPsTextField;
@property (nonatomic, retain) IBOutlet NSTextField *blacklistDomainsTextField;
@property (nonatomic, retain) IBOutlet NSTextField *exceptionsTextField;
@property (nonatomic, retain) IBOutlet WebView *helpWebView;
@property (nonatomic, retain) IBOutlet NSButton *viewLogButton;
@property (nonatomic, retain) IBOutlet NSButton *queryLoggingButton;
- (void) mainViewDidLoad;
+5 -1
View File
@@ -18,11 +18,12 @@
@synthesize aboutWebView = _aboutWebView;
@synthesize staticResolversTextField = _staticResolversTextField;
@synthesize parentalControlsButton = _parentalControlsButton;
@synthesize queryLoggingButton = _queryLoggingButton;
@synthesize lockinButton = _lockinButton;
@synthesize blacklistIPsTextField = _blacklistIPsTextField;
@synthesize blacklistDomainsTextField = _blacklistDomainsTextField;
@synthesize helpWebView = _helpWebView;
@synthesize viewLogButton = _viewLogButton;
@synthesize queryLoggingButton = _queryLoggingButton;
@synthesize exceptionsTextField = _exceptionsTextField;
@synthesize dnscryptButton = _dnscryptButton;
@synthesize opendnsButton = _opendnsButton;
@@ -533,8 +534,11 @@ DNSConfigurationState currentState = kDNS_CONFIGURATION_UNKNOWN;
[_helpWebView setAlphaValue: 0.0];
[_helpWebView.animator setAlphaValue: 1.0];
[_helpWebView setDrawsBackground: TRUE];
[_viewLogButton setHidden: YES];
[_queryLoggingButton setHidden: YES];
} else {
[_helpWebView setHidden: YES];
[_queryLoggingButton setHidden: NO];
}
}
@@ -1288,14 +1288,6 @@ aW91cy5leGFtcGxlLm5ldA</string>
</object>
<int key="connectionID">433</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">queryLoggingButton</string>
<reference key="source" ref="294453543"/>
<reference key="destination" ref="164894774"/>
</object>
<int key="connectionID">437</int>
</object>
<object class="IBConnectionRecord">
<object class="IBActionConnection" key="connection">
<string key="label">viewLogButtonPushed:</string>
@@ -1376,6 +1368,22 @@ aW91cy5leGFtcGxlLm5ldA</string>
</object>
<int key="connectionID">453</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">viewLogButton</string>
<reference key="source" ref="294453543"/>
<reference key="destination" ref="985341605"/>
</object>
<int key="connectionID">457</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">queryLoggingButton</string>
<reference key="source" ref="294453543"/>
<reference key="destination" ref="679502487"/>
</object>
<int key="connectionID">458</int>
</object>
</array>
<object class="IBMutableOrderedSet" key="objectRecords">
<array key="orderedObjects">
@@ -2042,7 +2050,7 @@ aW91cy5leGFtcGxlLm5ldA</string>
<nil key="activeLocalization"/>
<dictionary class="NSMutableDictionary" key="localizations"/>
<nil key="sourceID"/>
<int key="maxID">453</int>
<int key="maxID">458</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<array class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -2144,13 +2152,14 @@ aW91cy5leGFtcGxlLm5ldA</string>
<string key="opendnsButton">NSButton</string>
<string key="parentalControlsButton">NSButton</string>
<string key="previewNotesWebView">WebView</string>
<string key="queryLoggingButton">NSButtonCell</string>
<string key="queryLoggingButton">NSButton</string>
<string key="releaseNotesTabViewItem">NSTabViewItem</string>
<string key="releaseNotesWebView">WebView</string>
<string key="staticResolversTextField">NSTextFieldCell</string>
<string key="statusImageView">NSImageView</string>
<string key="statusText">NSTextField</string>
<string key="tabView">NSTabView</string>
<string key="viewLogButton">NSButton</string>
</dictionary>
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
<object class="IBToOneOutletInfo" key="aboutTabViewItem">
@@ -2215,7 +2224,7 @@ aW91cy5leGFtcGxlLm5ldA</string>
</object>
<object class="IBToOneOutletInfo" key="queryLoggingButton">
<string key="name">queryLoggingButton</string>
<string key="candidateClassName">NSButtonCell</string>
<string key="candidateClassName">NSButton</string>
</object>
<object class="IBToOneOutletInfo" key="releaseNotesTabViewItem">
<string key="name">releaseNotesTabViewItem</string>
@@ -2241,6 +2250,10 @@ aW91cy5leGFtcGxlLm5ldA</string>
<string key="name">tabView</string>
<string key="candidateClassName">NSTabView</string>
</object>
<object class="IBToOneOutletInfo" key="viewLogButton">
<string key="name">viewLogButton</string>
<string key="candidateClassName">NSButton</string>
</object>
</dictionary>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>