diff options
Diffstat (limited to 'src/tuine/component/base/flex/mod.rs')
-rw-r--r-- | src/tuine/component/base/flex/mod.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tuine/component/base/flex/mod.rs b/src/tuine/component/base/flex/mod.rs index d4262069..99a8f555 100644 --- a/src/tuine/component/base/flex/mod.rs +++ b/src/tuine/component/base/flex/mod.rs @@ -191,14 +191,16 @@ impl<Message> TmpComponent<Message> for Flex<Message> { // If there is still remaining space after, distribute the rest if // appropriate (e.x. current_size is too small for the bounds). if current_size.width < bounds.min_width { - // For now, we'll cheat and just set it to be equal. + // FIXME: For now, we'll cheat and just set it to be equal. current_size.width = bounds.min_width; } if current_size.height < bounds.min_height { - // For now, we'll cheat and just set it to be equal. + // FIXME: For now, we'll cheat and just set it to be equal. current_size.height = bounds.min_height; } + // FIXME: Remove area 0 children + // Now that we're done determining sizes, convert all children into the appropriate // layout nodes. Remember - parents determine children, and so, we determine // children here! |