From 339232f9fab3508652e2ab72c2ca061816782f34 Mon Sep 17 00:00:00 2001 From: vimal Date: Tue, 31 Oct 2023 16:06:20 +0530 Subject: [PATCH] give better estimate height --- MVMCoreUI/Atomic/Organisms/Carousel/Carousel.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MVMCoreUI/Atomic/Organisms/Carousel/Carousel.swift b/MVMCoreUI/Atomic/Organisms/Carousel/Carousel.swift index 6b360120..f32d1308 100644 --- a/MVMCoreUI/Atomic/Organisms/Carousel/Carousel.swift +++ b/MVMCoreUI/Atomic/Organisms/Carousel/Carousel.swift @@ -181,6 +181,10 @@ open class Carousel: View { } } + open override class func estimatedHeight(with model: MoleculeModelProtocol, _ delegateObject: MVMCoreUIDelegateObject?) -> CGFloat? { + return 80 + } + //-------------------------------------------------- // MARK: - JSON Setters //--------------------------------------------------