-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
A-UIGraphical user interfaces, styles, layouts, and widgetsGraphical user interfaces, styles, layouts, and widgetsC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behavior
Description
Bevy version
bevy 0.10.0
What you did
I upgrade my bevy project from 0.9 to 0.10
What went wrong
The 'min_size' Style property of the NodeBundle does not seem to be taken into account:
NodeBundle {
style: Style {
min_size: Size {
height: Val::Px(100.),
width: Val::Px(250.),
},
..default()
},
..default()
}Give this result:
Instead of this:
This can be fixed replacing 'min_size' by 'size' but it loses all the 'responsivness'
Metadata
Metadata
Assignees
Labels
A-UIGraphical user interfaces, styles, layouts, and widgetsGraphical user interfaces, styles, layouts, and widgetsC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behavior

