From 34d2b82376594e689ced2bcf8a23e7be0167bf06 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Fri, 2 Aug 2024 17:39:38 -0400 Subject: [PATCH] fix: make sub page view scrollable height Fill This allows the flex layout to shrink the scrollable and make room for the title --- cosmic-settings/src/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cosmic-settings/src/app.rs b/cosmic-settings/src/app.rs index d055d34..27eb7ff 100644 --- a/cosmic-settings/src/app.rs +++ b/cosmic-settings/src/app.rs @@ -859,7 +859,7 @@ impl SettingsApp { ) .spacing(theme.cosmic().space_s()) .padding(0) - .apply(|widget| scrollable(self.page_container(widget))) + .apply(|widget| scrollable(self.page_container(widget)).height(Length::Fill)) .apply(Element::from) .map(Message::Page);