From 8a85e676811e4a3d432a79eb84ce72d3bd0086a5 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Fri, 18 Nov 2022 10:01:28 -0600 Subject: [PATCH] updated backgroundcolor to clear Signed-off-by: Matt Bruce --- VDS/Classes/Control.swift | 1 + VDS/Classes/View.swift | 1 + VDS/Components/Label/Label.swift | 1 + 3 files changed, 3 insertions(+) diff --git a/VDS/Classes/Control.swift b/VDS/Classes/Control.swift index 12e8fba4..bd37b435 100644 --- a/VDS/Classes/Control.swift +++ b/VDS/Classes/Control.swift @@ -92,6 +92,7 @@ open class Control: UIControl, Handlerable, ViewProtocol, Resettable { // MARK: - ViewProtocol /// Will be called only once. open func setup() { + backgroundColor = .clear translatesAutoresizingMaskIntoConstraints = false insetsLayoutMarginsFromSafeArea = false } diff --git a/VDS/Classes/View.swift b/VDS/Classes/View.swift index 837d81a8..1671b377 100644 --- a/VDS/Classes/View.swift +++ b/VDS/Classes/View.swift @@ -84,6 +84,7 @@ open class View: UIView, Handlerable, ViewProtocol, Resettable { // MARK: - ViewProtocol /// Will be called only once. open func setup() { + backgroundColor = .clear translatesAutoresizingMaskIntoConstraints = false insetsLayoutMarginsFromSafeArea = false } diff --git a/VDS/Components/Label/Label.swift b/VDS/Components/Label/Label.swift index 2b195de8..7fcc931e 100644 --- a/VDS/Components/Label/Label.swift +++ b/VDS/Components/Label/Label.swift @@ -115,6 +115,7 @@ open class LabelBase: UILabel, Handlerable, ViewProtocol, Resettable { accessibilityCustomActions = [] accessibilityTraits = .staticText numberOfLines = 0 + backgroundColor = .clear } //--------------------------------------------------