Expose ContentFit in root
This commit is contained in:
parent
6822d1d9f2
commit
c910e23919
3 changed files with 5 additions and 7 deletions
|
|
@ -1,8 +1,7 @@
|
||||||
use iced::{
|
use iced::{
|
||||||
alignment, button, image::ContentFit, scrollable, slider, text_input,
|
alignment, button, scrollable, slider, text_input, Button, Checkbox, Color,
|
||||||
Button, Checkbox, Color, Column, Container, Element, Image, Length, Radio,
|
Column, Container, ContentFit, Element, Image, Length, Radio, Row, Sandbox,
|
||||||
Row, Sandbox, Scrollable, Settings, Slider, Space, Text, TextInput,
|
Scrollable, Settings, Slider, Space, Text, TextInput, Toggler,
|
||||||
Toggler,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
pub fn main() -> iced::Result {
|
pub fn main() -> iced::Result {
|
||||||
|
|
|
||||||
|
|
@ -221,6 +221,6 @@ pub use settings::Settings;
|
||||||
pub use runtime::alignment;
|
pub use runtime::alignment;
|
||||||
pub use runtime::futures;
|
pub use runtime::futures;
|
||||||
pub use runtime::{
|
pub use runtime::{
|
||||||
Alignment, Background, Color, Command, Font, Length, Point, Rectangle,
|
Alignment, Background, Color, Command, ContentFit, Font, Length, Point,
|
||||||
Size, Subscription, Vector,
|
Rectangle, Size, Subscription, Vector,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,6 @@ pub mod image {
|
||||||
pub use crate::runtime::image::Handle;
|
pub use crate::runtime::image::Handle;
|
||||||
pub use crate::runtime::widget::image::viewer;
|
pub use crate::runtime::widget::image::viewer;
|
||||||
pub use crate::runtime::widget::image::{Image, Viewer};
|
pub use crate::runtime::widget::image::{Image, Viewer};
|
||||||
pub use crate::runtime::ContentFit;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "svg")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "svg")))]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue