From 7c431974ac02324bce273bb965b351a52e12497f Mon Sep 17 00:00:00 2001 From: Vasavi Kanamarlapudi Date: Fri, 19 Jul 2024 18:04:50 +0530 Subject: [PATCH] minor changes --- VDS/Components/Carousel/Carousel.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/VDS/Components/Carousel/Carousel.swift b/VDS/Components/Carousel/Carousel.swift index 3a754ae8..e05b94ea 100644 --- a/VDS/Components/Carousel/Carousel.swift +++ b/VDS/Components/Carousel/Carousel.swift @@ -56,7 +56,7 @@ open class Carousel: View { case left, center, right } - /// Space between each tile. The default value will be 24px (6X) in tablet and 12px (3X) in mobile. + /// Space between each tile. The default value will be 6X in tablet and 3X in mobile. public enum Gutter: String, CaseIterable , DefaultValuing { case gutter3X = "3X" case gutter6X = "6X" @@ -79,7 +79,7 @@ open class Carousel: View { /// views used to render view in the carousel slots. open var views: [UIView] = [] { didSet { setNeedsUpdate() } } - /// Space between each tile. The default value will be 24px (6X) in tablet and 12px (3X) in mobile. + /// Space between each tile. The default value will be 6X in tablet and 3X in mobile. open var gutter: Gutter = Gutter.defaultValue { didSet { setNeedsUpdate() } } /// The amount of slides visible in the carousel container at one time. @@ -112,7 +112,7 @@ open class Carousel: View { open var paginationDisplay: PaginationDisplay = .none { didSet {setNeedsUpdate() } } /// If provided, will apply margin to pagination arrows. Can be set to either positive or negative values. - /// The default value will be 12px in tablet and 8px in mobile. These values are the default in order to avoid overlapping content within the carousel. + /// The default value will be 3X in tablet and 2X in mobile. These values are the default in order to avoid overlapping content within the carousel. open var paginationInset: CGFloat = UIDevice.isIPad ? VDSLayout.space3X : VDSLayout.space2X { didSet { updatePaginationInset() } } /// Options for user to configure the partially-visible tile in group.