updated tilecontainer default background
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
1e7648b114
commit
1242a10d41
@ -51,6 +51,7 @@ class TileContainerViewController: BaseViewController {
|
|||||||
super.viewDidLoad()
|
super.viewDidLoad()
|
||||||
addContentTopView(view: .makeWrapper(for: tileContainer))
|
addContentTopView(view: .makeWrapper(for: tileContainer))
|
||||||
tileContainer.width = 150
|
tileContainer.width = 150
|
||||||
|
tileContainer.containerBackgroundColor = .black
|
||||||
setupForm()
|
setupForm()
|
||||||
setupPicker()
|
setupPicker()
|
||||||
setupModel()
|
setupModel()
|
||||||
@ -134,6 +135,7 @@ class TileContainerViewController: BaseViewController {
|
|||||||
func setupModel() {
|
func setupModel() {
|
||||||
//setup UI
|
//setup UI
|
||||||
surfacePickerSelectorView.text = tileContainer.surface.rawValue
|
surfacePickerSelectorView.text = tileContainer.surface.rawValue
|
||||||
|
backgroundColorPickerSelectorView.text = tileContainer.containerBackgroundColor.rawValue
|
||||||
paddingPickerSelectorView.text = tileContainer.containerPadding.rawValue
|
paddingPickerSelectorView.text = tileContainer.containerPadding.rawValue
|
||||||
scalingTypePickerSelectorView.text = tileContainer.aspectRatio.rawValue
|
scalingTypePickerSelectorView.text = tileContainer.aspectRatio.rawValue
|
||||||
widthTextField.text = tileContainer.width != nil ? "\(tileContainer.width!)" : ""
|
widthTextField.text = tileContainer.width != nil ? "\(tileContainer.width!)" : ""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user