added height
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
a340598861
commit
ae97c2cc80
@ -86,7 +86,18 @@ open class TileContainer: Control {
|
||||
}
|
||||
}
|
||||
|
||||
public var height: CGFloat? { didSet{ didChange() } }
|
||||
private var _height: CGFloat?
|
||||
public var height: CGFloat? {
|
||||
get { return _height }
|
||||
set {
|
||||
if let newValue, newValue > 44 {
|
||||
_height = newValue
|
||||
} else {
|
||||
_height = nil
|
||||
}
|
||||
didChange()
|
||||
}
|
||||
}
|
||||
|
||||
public var showBorder: Bool = false { didSet{ didChange() } }
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user