mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-09 05:25:01 +00:00
Made failed attempt to apply height constraint.
This commit is contained in:
@@ -319,6 +319,18 @@ class MachineDocument:
|
||||
Bundle.main.loadNibNamed(NSNib.Name(rawValue: "Activity"), owner: self, topLevelObjects: nil)
|
||||
showActivity(nil)
|
||||
|
||||
// Add a constraints to minimise window height.
|
||||
// let heightConstraint = NSLayoutConstraint(
|
||||
// item: self.activityPanel.contentView!,
|
||||
// attribute: .height,
|
||||
// relatedBy: .equal,
|
||||
// toItem: nil,
|
||||
// attribute: .notAnAttribute,
|
||||
// multiplier: 0.0,
|
||||
// constant: 20.0)
|
||||
// heightConstraint.priority = .defaultLow
|
||||
// self.activityPanel.contentView?.addConstraint(heightConstraint)
|
||||
|
||||
// Inspect the activity panel for indicators.
|
||||
var activityIndicators: [NSLevelIndicator] = []
|
||||
var textFields: [NSTextField] = []
|
||||
|
Reference in New Issue
Block a user