 	cell.lineBreakMode = NSLineBreakMode.ByClipping
 	cell.scrollable = true
 	tf.translatesAutoresizingMaskIntoConstraints = false
+	tf.setContentHuggingPriority(1000, forOrientation: NSLayoutConstraintOrientation.Horizontal)
+	tf.setContentCompressionResistancePriority(1000, forOrientation: NSLayoutConstraintOrientation.Vertical)
 	return tf
 }
 

	}
}

class program : NSObject {
	private var nhspinb: NSTextField
	private var nvspinb: NSTextField
	private var scrollbar: NSScroller

	init(_ contentView: NSView) {
		self.nhspinb = newTextField()
		self.nvspinb = newTextField()

		var ss = NSScroller.preferredScrollerStyle()
		var ccs = NSScroller.scrollerWidthForControlSize(

	cell.lineBreakMode = NSLineBreakMode.ByClipping
	cell.scrollable = true
	tf.translatesAutoresizingMaskIntoConstraints = false
	tf.setContentHuggingPriority(250, forOrientation: NSLayoutConstraintOrientation.Horizontal)
	return tf
}

