mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
Made failed attempt to apply height constraint.
This commit is contained in:
parent
17702bfb89
commit
6ed3a49fe1
@ -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] = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user