updated ui for better testing
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
3112b8346f
commit
0372e278fc
@ -362,9 +362,14 @@ class TileletViewController: BaseViewController<Tilelet> {
|
|||||||
$0.addFormRow(label: "Max Width", view: maxWidthTextField)
|
$0.addFormRow(label: "Max Width", view: maxWidthTextField)
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
append(section: .init().with({
|
||||||
|
$0.title = "Text Styles"
|
||||||
|
$0.addFormRow(label: "Title", view: titleStandardStylePickerSelectorView)
|
||||||
|
$0.addFormRow(label: "Eyebrow/Subtitle", view: otherStandardStylePickerSelectorView)
|
||||||
|
}))
|
||||||
|
|
||||||
append(section: .init().with({
|
append(section: .init().with({
|
||||||
$0.title = "Eyebrow"
|
$0.title = "Eyebrow"
|
||||||
$0.addFormRow(label: "Text Style", tooltip: .init(title: "Text Style", content: "Eyebrow and Subtitle will share the same textStyle."), view: otherStandardStylePickerSelectorView)
|
|
||||||
$0.addFormRow(label: "is Bold", view: eyebrowIsBold, pinTrailing: false)
|
$0.addFormRow(label: "is Bold", view: eyebrowIsBold, pinTrailing: false)
|
||||||
$0.addFormRow(label: "Text", view: eyebrowTextField)
|
$0.addFormRow(label: "Text", view: eyebrowTextField)
|
||||||
$0.addFormRow(label: "Color", view: eyebrowColorPickerSelectorView)
|
$0.addFormRow(label: "Color", view: eyebrowColorPickerSelectorView)
|
||||||
@ -377,11 +382,11 @@ class TileletViewController: BaseViewController<Tilelet> {
|
|||||||
|
|
||||||
append(section: .init().with({
|
append(section: .init().with({
|
||||||
$0.title = "Title"
|
$0.title = "Title"
|
||||||
$0.addFormRow(label: "Text Style", view: titleStandardStylePickerSelectorView)
|
|
||||||
$0.addFormRow(label: "is Bold", view: titleIsBold, pinTrailing: false)
|
$0.addFormRow(label: "is Bold", view: titleIsBold, pinTrailing: false)
|
||||||
$0.addFormRow(label: "Text", view: titleTextField)
|
$0.addFormRow(label: "Text", view: titleTextField)
|
||||||
$0.addFormRow(label: "Color", view: titleColorPickerSelectorView)
|
$0.addFormRow(label: "Color", view: titleColorPickerSelectorView)
|
||||||
}))
|
}))
|
||||||
|
|
||||||
titleTokenFormStackView.addFormRow(label: "Token", view: titleTokenColorView)
|
titleTokenFormStackView.addFormRow(label: "Token", view: titleTokenColorView)
|
||||||
titleColorFormStackView.addFormRow(label: "Custom", view: titleCustomColorView)
|
titleColorFormStackView.addFormRow(label: "Custom", view: titleCustomColorView)
|
||||||
append(section: titleTokenFormStackView)
|
append(section: titleTokenFormStackView)
|
||||||
|
|||||||
@ -146,9 +146,14 @@ class TitleLockupViewController: BaseViewController<TitleLockup> {
|
|||||||
addFormRow(label: "Surface", view: surfacePickerSelectorView)
|
addFormRow(label: "Surface", view: surfacePickerSelectorView)
|
||||||
addFormRow(label: "Text Alignment", view: textAlignmentPickerSelectorView)
|
addFormRow(label: "Text Alignment", view: textAlignmentPickerSelectorView)
|
||||||
|
|
||||||
|
append(section: .init().with({
|
||||||
|
$0.title = "Text Styles"
|
||||||
|
$0.addFormRow(label: "Title", view: titleStandardStylePickerSelectorView)
|
||||||
|
$0.addFormRow(label: "Eyebrow/Subtitle", view: otherStandardStylePickerSelectorView)
|
||||||
|
}))
|
||||||
|
|
||||||
append(section: .init().with({
|
append(section: .init().with({
|
||||||
$0.title = "\nEyebrow"
|
$0.title = "\nEyebrow"
|
||||||
$0.addFormRow(label: "TextStyle (Subtitle)", view: otherStandardStylePickerSelectorView)
|
|
||||||
$0.addFormRow(label: "is Bold", view: eyebrowIsBold, pinTrailing: false)
|
$0.addFormRow(label: "is Bold", view: eyebrowIsBold, pinTrailing: false)
|
||||||
$0.addFormRow(label: "Text", view: eyebrowTextField)
|
$0.addFormRow(label: "Text", view: eyebrowTextField)
|
||||||
$0.addFormRow(label: "Color", view: eyebrowColorPickerSelectorView)
|
$0.addFormRow(label: "Color", view: eyebrowColorPickerSelectorView)
|
||||||
@ -161,7 +166,6 @@ class TitleLockupViewController: BaseViewController<TitleLockup> {
|
|||||||
|
|
||||||
append(section: .init().with({
|
append(section: .init().with({
|
||||||
$0.title = "\nTitle"
|
$0.title = "\nTitle"
|
||||||
$0.addFormRow(label: "TextStyle", view: titleStandardStylePickerSelectorView)
|
|
||||||
$0.addFormRow(label: "is Bold", view: titleIsBold, pinTrailing: false)
|
$0.addFormRow(label: "is Bold", view: titleIsBold, pinTrailing: false)
|
||||||
$0.addFormRow(label: "Text", view: titleTextField)
|
$0.addFormRow(label: "Text", view: titleTextField)
|
||||||
$0.addFormRow(label: "Color", view: titleColorPickerSelectorView)
|
$0.addFormRow(label: "Color", view: titleColorPickerSelectorView)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user