diff options
author | Damiano Galassi <[email protected]> | 2019-03-06 09:08:44 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2019-03-06 09:08:44 +0100 |
commit | 29f21017840c16bd8cbb2c1664f96a1d139286f0 (patch) | |
tree | a9e277e4f5b2d4072f208a51156a6700822fe976 /macosx/HBSummaryViewController.m | |
parent | b368b64dbb4d0d32c21e648c532180c87b35e94f (diff) |
MacGui: use a stackview instead of constrains in the summary view to simplify hiding UI elements.
Diffstat (limited to 'macosx/HBSummaryViewController.m')
-rw-r--r-- | macosx/HBSummaryViewController.m | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/macosx/HBSummaryViewController.m b/macosx/HBSummaryViewController.m index 21128a38c..8e8f2208e 100644 --- a/macosx/HBSummaryViewController.m +++ b/macosx/HBSummaryViewController.m @@ -20,8 +20,6 @@ static void *HBSummaryViewControllerSubsContext = &HBSummaryViewControllerSubsCo @interface HBSummaryViewController () -@property (nonatomic, strong) IBOutlet NSLayoutConstraint *bottomOptionsConstrain; - @property (nonatomic, strong) IBOutlet NSTextField *tracksLabel; @property (nonatomic, strong) IBOutlet NSTextField *filtersLabel; @property (nonatomic, strong) IBOutlet NSTextField *dimensionLabel; @@ -46,7 +44,6 @@ static void *HBSummaryViewControllerSubsContext = &HBSummaryViewControllerSubsCo if (self) { _labelColor = [NSColor disabledControlTextColor]; - _previewViewController = [[HBPreviewViewController alloc] init]; } return self; @@ -117,14 +114,6 @@ static void *HBSummaryViewControllerSubsContext = &HBSummaryViewControllerSubsCo } else if (context == HBSummaryViewControllerContainerContext) { - if ([change[NSKeyValueChangeNewKey] integerValue] & 0x030000) - { - self.bottomOptionsConstrain.active = YES; - } - else - { - self.bottomOptionsConstrain.active = NO; - } [self updateTracks:nil]; } else if (context == HBSummaryViewControllerVideoContext) |