Implement scrollbar

This commit is contained in:
Jeremy Soller 2023-12-20 14:57:44 -07:00
parent ee3cc21ece
commit f9f7904117
No known key found for this signature in database
GPG key ID: DCFCA852D3906975
3 changed files with 46 additions and 37 deletions

View file

@ -199,9 +199,13 @@ impl cosmic::Application for App {
/// Creates a view after each update.
fn view(&self) -> Element<Self::Message> {
let cosmic_theme::Spacing { space_xxs, .. } = self.core().system_theme().cosmic().spacing;
let cosmic_theme::Spacing {
space_none,
space_xxs,
..
} = self.core().system_theme().cosmic().spacing;
let mut tab_column = widget::column::with_capacity(1);
let mut tab_column = widget::column::with_capacity(1).padding([space_none, space_xxs]);
tab_column = tab_column.push(
row![