CXTDT-427165 - Text Link Caret - Container should not have left/right padding
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
31f64dbc8c
commit
97b6942127
@ -89,14 +89,7 @@ open class TextLinkCaret: ButtonBase {
|
||||
//--------------------------------------------------
|
||||
override open var intrinsicContentSize: CGSize {
|
||||
//get the labels size, if not the button
|
||||
let size = titleLabel?.intrinsicContentSize ?? super.intrinsicContentSize
|
||||
|
||||
var itemWidth = size.width
|
||||
|
||||
if let caretWidth = imageAttribute?.width {
|
||||
itemWidth += caretWidth
|
||||
}
|
||||
return CGSize(width: itemWidth, height: size.height)
|
||||
return titleLabel?.intrinsicContentSize ?? super.intrinsicContentSize
|
||||
}
|
||||
|
||||
open override func updateView() {
|
||||
|
||||
@ -1,3 +1,8 @@
|
||||
1.0.26
|
||||
=======
|
||||
- CXTDT-426626 - Toggle - Disabled "on" state
|
||||
- CXTDT-427165 - Text Link Caret - Container should not have left/right padding
|
||||
|
||||
1.0.25
|
||||
=======
|
||||
- TEMPORARY: Added BaselineOffset, LineSpacing to TextStyle
|
||||
|
||||
Loading…
Reference in New Issue
Block a user