Wrapping up bedrock implementation
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
use itertools::Itertools;
|
||||
use galaxy_core::context_flag::ContextFlag;
|
||||
use galaxyui::{
|
||||
elements::{Clipped, Container, Flex, MouseStateHandle, ParentElement},
|
||||
@@ -6,6 +5,7 @@ use galaxyui::{
|
||||
ui_components::components::{UiComponent, UiComponentStyles},
|
||||
AppContext, Element, SingletonEntity,
|
||||
};
|
||||
use itertools::Itertools;
|
||||
|
||||
use crate::{
|
||||
appearance::Appearance,
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
use pathfinder_geometry::{rect::RectF, vector::Vector2F};
|
||||
use galaxyui::{
|
||||
elements::{
|
||||
AcceptedByDropTarget, Border, ChildAnchor, ConstrainedBox, Container, CornerRadius,
|
||||
@@ -16,6 +15,7 @@ use galaxyui::{
|
||||
},
|
||||
AppContext, Element, SingletonEntity, ViewHandle,
|
||||
};
|
||||
use pathfinder_geometry::{rect::RectF, vector::Vector2F};
|
||||
|
||||
use crate::{
|
||||
cloud_object::{
|
||||
|
||||
@@ -70,8 +70,8 @@ impl WarpDriveItem for WarpDriveWorkflow {
|
||||
}
|
||||
|
||||
fn preview(&self, appearance: &Appearance) -> Option<Box<dyn Element>> {
|
||||
let mut modal =
|
||||
Flex::column().with_cross_axis_alignment(galaxyui::elements::CrossAxisAlignment::Stretch);
|
||||
let mut modal = Flex::column()
|
||||
.with_cross_axis_alignment(galaxyui::elements::CrossAxisAlignment::Stretch);
|
||||
|
||||
let mut text = Flex::column()
|
||||
.with_child(Container::new(self.render_workflow_name(appearance)).finish());
|
||||
|
||||
Reference in New Issue
Block a user