Merge branch 'bugfix/empty_multi_progress_bar_fix' into 'release/7_8_0'
Empty multi progress bar fix. See merge request BPHV_MIPS/mvm_core_ui!507
This commit is contained in:
commit
d4258f7e4f
@ -63,7 +63,7 @@ import UIKit
|
|||||||
addSubview(stack)
|
addSubview(stack)
|
||||||
NSLayoutConstraint.constraintPinSubview(toSuperview: stack)
|
NSLayoutConstraint.constraintPinSubview(toSuperview: stack)
|
||||||
stack.backgroundColor = backgroundColor
|
stack.backgroundColor = backgroundColor
|
||||||
stack.contentView.backgroundColor = .mvmWhite
|
stack.contentView.backgroundColor = .clear
|
||||||
stack.model = StackModel(molecules: [], axis: .horizontal, spacing: 2)
|
stack.model = StackModel(molecules: [], axis: .horizontal, spacing: 2)
|
||||||
stack.stackModel?.horizontalAlignment = .leading
|
stack.stackModel?.horizontalAlignment = .leading
|
||||||
|
|
||||||
@ -111,7 +111,6 @@ import UIKit
|
|||||||
|
|
||||||
roundedCorners = multiProgressModel.roundedCorners ?? false
|
roundedCorners = multiProgressModel.roundedCorners ?? false
|
||||||
thicknessConstraint?.constant = multiProgressModel.thickness ?? defaultHeight
|
thicknessConstraint?.constant = multiProgressModel.thickness ?? defaultHeight
|
||||||
stack.model?.backgroundColor = model.backgroundColor
|
|
||||||
set(with: multiProgressModel.progressList, delegateObject, additionalData)
|
set(with: multiProgressModel.progressList, delegateObject, additionalData)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user