Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

49 Commits

Repository files navigation

iced_split - resizeable splits for iced

icedlicensecrates.iodocs.rs

Overview

iced_split provides a pane-style resizeable split widget for use with the iced GUI library.

use iced::Element;use iced_split::vertical_split;enumMessage{OnDrag(f32),}structState{split_at:f32,}implState{fnupdate(&mutself,message:Message){match message {Message::OnDrag(split_at) => self.split_at = split_at,}}fnview(&self) -> Element<'_,Message>{vertical_split("left pane","right pane",self.split_at,Message::OnDrag,).into()}}

Compatibility

Refer to the table below to determine which version(s) of iced_split are compatible with your version of iced.

icediced_split
0.14.00.1.0
0.15-dev0.2-dev

License

iced_split is licensed under the MIT License. By contributing to iced_split, you agree that your contributions will be licensed under the MIT as well.

About

resizeable splits for iced

Topics

Resources

Stars

18 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages