                         keyView.enabled = true
                         keyView.setTranslatesAutoresizingMaskIntoConstraints(false)
                         keyView.text = key.keyCap
+                        // should be UILayoutPriorityDefaultHigh
+                        keyView.setContentCompressionResistancePriority(1000, forAxis: .Vertical)
                         
                         self.view.addSubview(keyView)
                         

                    vertical: false,
                    width: layout["keyGap"]!)
            }
            //else if isEquallySpacedRow {
            //    
            //}
            else {
                addGapPair(
                    "keyGap%dx%d",
                    row: i,

                    var keyGap = Spacer(color: UIColor.blueColor())
                    let keyGapName = "keyGap\(j)x\(i)"
                    keyGap.setTranslatesAutoresizingMaskIntoConstraints(false)
                    
                    self.elements[keyGapName] = keyGap
                    self.view.addSubview(keyGap)
                    
