diff --git a/VDSSample/ViewControllers/ModalViewController.swift b/VDSSample/ViewControllers/ModalViewController.swift index 82c5310..caa35fd 100644 --- a/VDSSample/ViewControllers/ModalViewController.swift +++ b/VDSSample/ViewControllers/ModalViewController.swift @@ -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 { 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)