Digital ACT-191 ONEAPP-10928 story: did set pinTrailing: false to all toggles

This commit is contained in:
Vasavi Kanamarlapudi 2024-09-20 12:57:25 +05:30
parent 17a5db8c73
commit 5aefd665ed

View File

@ -2,7 +2,7 @@
// ModalViewController.swift
// VDSSample
//
// Created by Kanamarlapudi, Vasavi on 5/09/24.
// Created by Kanamarlapudi, Vasavi on 05/09/24.
//
import Foundation
@ -38,18 +38,18 @@ class ModalViewController: BaseViewController<Modal> {
override func setupForm(){
super.setupForm()
addFormRow(label: "Disabled", view: disabledSwitch)
addFormRow(label: "Disabled", view: disabledSwitch, pinTrailing: false)
addFormRow(label: "Surface", view: surfacePickerSelectorView)
addFormRow(label: "Show Modal Footer", view: showFooterSwitch)
addFormRow(label: "Full Screen Dialog", view: fullScreenDialogSwitch)
addFormRow(label: "Single Button", view: singleButtonSwitch)
addFormRow(label: "Hide Close Button", view: hideCloseSwitch)
addFormRow(label: "Disable Animation", view: disableAnimationSwitch)
addFormRow(label: "Disable Outside Click", view: disableOutsideSwitch)
addFormRow(label: "Opened", view: openedSwitch)
addFormRow(label: "Show Modal Footer", view: showFooterSwitch, pinTrailing: false)
addFormRow(label: "Full Screen Dialog", view: fullScreenDialogSwitch, pinTrailing: false)
addFormRow(label: "Single Button", view: singleButtonSwitch, pinTrailing: false)
addFormRow(label: "Hide Close Button", view: hideCloseSwitch, pinTrailing: false)
addFormRow(label: "Disable Animation", view: disableAnimationSwitch, pinTrailing: false)
addFormRow(label: "Disable Outside Click", view: disableOutsideSwitch, pinTrailing: false)
addFormRow(label: "Opened", view: openedSwitch, pinTrailing: false)
addFormRow(label: "Modal Title", view: titleTextField)
addFormRow(label: "Modal Body", view: bodyTextField)
addFormRow(label: "Enable Back Button", view: enableBackSwitch)
addFormRow(label: "Enable Back Button", view: enableBackSwitch, pinTrailing: false)
addFormRow(label: "Max Height", view: heightTextField)
addFormRow(label: "Max Width", view: widthTextField)