diff --git a/App/Tabs/TabBarView.swift b/App/Tabs/TabBarView.swift index a25aa7d..9548194 100644 --- a/App/Tabs/TabBarView.swift +++ b/App/Tabs/TabBarView.swift @@ -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 )