diff --git a/hui/src/draw.rs b/hui/src/draw.rs index a0fd7c7..93f5950 100644 --- a/hui/src/draw.rs +++ b/hui/src/draw.rs @@ -1,5 +1,7 @@ //! draw commands, tesselation and UI rendering. +//TODO: 9-slice draw command + use crate::{ rectangle::Corners, text::{FontHandle, TextRenderer} diff --git a/hui/src/element/builtin/container.rs b/hui/src/element/builtin/container.rs index 06290e2..9cddc37 100644 --- a/hui/src/element/builtin/container.rs +++ b/hui/src/element/builtin/container.rs @@ -88,7 +88,7 @@ impl UiElement for Container { state: ctx.state, layout: &LayoutInfo { position: ctx.layout.position + size, - max_size: self.measure_max_inner_size(ctx.layout), // - size TODO + max_size: self.measure_max_inner_size(ctx.layout), //TODO: subtract size already taken by previous children direction: self.direction, }, text_measure: ctx.text_measure,