feat: reorderable flex row
This commit is contained in:
parent
675f3b59e3
commit
7dd0ee835d
3 changed files with 1308 additions and 0 deletions
|
|
@ -213,6 +213,10 @@ pub mod flex_row;
|
||||||
#[doc(inline)]
|
#[doc(inline)]
|
||||||
pub use flex_row::{FlexRow, flex_row};
|
pub use flex_row::{FlexRow, flex_row};
|
||||||
|
|
||||||
|
pub mod reorderable_flex_row;
|
||||||
|
#[doc(inline)]
|
||||||
|
pub use reorderable_flex_row::{ReorderableFlexRow, reorderable_flex_row};
|
||||||
|
|
||||||
pub mod grid;
|
pub mod grid;
|
||||||
#[doc(inline)]
|
#[doc(inline)]
|
||||||
pub use grid::{Grid, grid};
|
pub use grid::{Grid, grid};
|
||||||
|
|
|
||||||
8
src/widget/reorderable_flex_row/mod.rs
Normal file
8
src/widget/reorderable_flex_row/mod.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
// Copyright 2026 System76 <info@system76.com>
|
||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
|
//! A keyed wrapping flex row whose items can be dragged to reorder.
|
||||||
|
|
||||||
|
mod widget;
|
||||||
|
|
||||||
|
pub use widget::{ReorderableFlexRow, reorderable_flex_row};
|
||||||
1296
src/widget/reorderable_flex_row/widget.rs
Normal file
1296
src/widget/reorderable_flex_row/widget.rs
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue