diff --git a/examples/bevy.rs b/examples/bevy.rs index 53b911830107188738db4f8ce2fed7ed4f67e813..7025169bed2acefc65f0e4ffca6a8be92a73e0b7 100644 --- a/examples/bevy.rs +++ b/examples/bevy.rs @@ -6,8 +6,8 @@ use bevy::{ }; use bevy_kayak_ui::{BevyContext, BevyKayakUIPlugin, FontMapping, UICameraBundle}; use kayak_core::Index; -use kayak_ui::widgets::App; use kayak_ui::core::{rsx, widget}; +use kayak_ui::widgets::App; use kayak_widgets::Window; #[widget] diff --git a/examples/counter.rs b/examples/counter.rs index 1a8285431e329c723555116e9b84b4da7a728541..fd9ae0113a0526368dff1c3392c7e7dba02cc0ee 100644 --- a/examples/counter.rs +++ b/examples/counter.rs @@ -9,8 +9,8 @@ use kayak_core::{ styles::{Style, StyleProp, Units}, Bound, EventType, Index, MutableBound, OnEvent, }; -use kayak_ui::widgets::App; use kayak_ui::core::{rsx, widget}; +use kayak_ui::widgets::App; use kayak_widgets::{Button, Text, Window}; #[widget] diff --git a/examples/full_ui.rs b/examples/full_ui.rs index 0771ca47bb726b9c99f34d887785b660606a9eed..ea4a11e699a63ea208f934aad640211c7eee08a8 100644 --- a/examples/full_ui.rs +++ b/examples/full_ui.rs @@ -5,14 +5,14 @@ use bevy::{ PipelinedDefaultPlugins, }; use bevy_kayak_ui::{BevyContext, BevyKayakUIPlugin, FontMapping, ImageManager, UICameraBundle}; -use kayak_widgets::{NinePatch, Text}; use kayak_core::{ layout_cache::Space, styles::{LayoutType, Style, StyleProp, Units}, widget, Bound, Children, EventType, Index, MutableBound, OnEvent, }; -use kayak_ui::widgets::App; use kayak_ui::core::rsx; +use kayak_ui::widgets::App; +use kayak_widgets::{NinePatch, Text}; #[widget] fn BlueButton(context: KayakContext, children: Children, styles: Option<Style>) { diff --git a/examples/global_counter.rs b/examples/global_counter.rs index feaf84d14b76790084193066cbc590e1aca43d4a..8f145329e3e7e5d18a25b0875e692a2efec82ab9 100644 --- a/examples/global_counter.rs +++ b/examples/global_counter.rs @@ -5,10 +5,10 @@ use bevy::{ PipelinedDefaultPlugins, }; use bevy_kayak_ui::{BevyContext, BevyKayakUIPlugin, FontMapping, UICameraBundle}; -use kayak_widgets::{Text, Window}; use kayak_core::{bind, Binding, Bound, Index, MutableBound}; -use kayak_ui::widgets::App; use kayak_ui::core::{rsx, widget}; +use kayak_ui::widgets::App; +use kayak_widgets::{Text, Window}; #[derive(Clone, PartialEq)] struct GlobalCount(pub u32); diff --git a/examples/image.rs b/examples/image.rs index 436500f052c6dd67640f3ea2a6eb56bf56ae8963..39388f43a96b11bccbab26bb85bf8986f8069bed 100644 --- a/examples/image.rs +++ b/examples/image.rs @@ -5,10 +5,10 @@ use bevy::{ PipelinedDefaultPlugins, }; use bevy_kayak_ui::{BevyContext, BevyKayakUIPlugin, ImageManager, UICameraBundle}; -use kayak_widgets::Image; use kayak_core::Index; -use kayak_ui::widgets::App; use kayak_ui::core::rsx; +use kayak_ui::widgets::App; +use kayak_widgets::Image; fn startup( mut commands: Commands, diff --git a/examples/nine_patch.rs b/examples/nine_patch.rs index 2e99a11ea4c83fa4c1d665a9867cb6c01be2e17b..202a891271964b4c4cdc8cc5611c3473197d0080 100644 --- a/examples/nine_patch.rs +++ b/examples/nine_patch.rs @@ -10,8 +10,8 @@ use kayak_core::{ styles::{Style, StyleProp, Units}, Index, }; -use kayak_ui::widgets::App; use kayak_ui::core::rsx; +use kayak_ui::widgets::App; use kayak_widgets::NinePatch; fn startup(