TabView: Fix margin between x and title
This commit is contained in:
@@ -61,10 +61,10 @@ class TabView: UIControl
|
||||
x: xOffset, y: insetBounds.minY,
|
||||
width: insetBounds.height, height: insetBounds.height
|
||||
)
|
||||
xOffset += imageView.frame.width
|
||||
xOffset += imageView.frame.width + 12.0
|
||||
|
||||
label.frame = CGRect(
|
||||
x: xOffset + 12.0, y: insetBounds.minY,
|
||||
x: xOffset, y: insetBounds.minY,
|
||||
width: closeButton.frame.minX - closeButtonPadding - xOffset, height: insetBounds.height
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user