chore: format for 2024 edition
This commit is contained in:
parent
8cf372c9b9
commit
0aa518984e
57 changed files with 196 additions and 199 deletions
|
|
@ -4,12 +4,11 @@
|
|||
use std::borrow::Cow;
|
||||
|
||||
use crate::{
|
||||
theme,
|
||||
widget::{column, container, flex_row, horizontal_space, row, text, FlexRow, Row},
|
||||
Element,
|
||||
Element, theme,
|
||||
widget::{FlexRow, Row, column, container, flex_row, horizontal_space, row, text},
|
||||
};
|
||||
use derive_setters::Setters;
|
||||
use iced_core::{text::Wrapping, Length};
|
||||
use iced_core::{Length, text::Wrapping};
|
||||
use taffy::AlignContent;
|
||||
|
||||
/// A settings item aligned in a row
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@ pub mod item;
|
|||
pub mod section;
|
||||
|
||||
pub use self::item::{flex_item, flex_item_row, item, item_row};
|
||||
pub use self::section::{section, Section};
|
||||
pub use self::section::{Section, section};
|
||||
|
||||
use crate::widget::{column, Column};
|
||||
use crate::{theme, Element};
|
||||
use crate::widget::{Column, column};
|
||||
use crate::{Element, theme};
|
||||
|
||||
/// A column with a predefined style for creating a settings panel
|
||||
#[must_use]
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
// Copyright 2022 System76 <info@system76.com>
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
use crate::widget::{column, text, ListColumn};
|
||||
use crate::Element;
|
||||
use crate::widget::{ListColumn, column, text};
|
||||
use std::borrow::Cow;
|
||||
|
||||
/// A section within a settings view column.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue