Open ickshonpe opened 1 year ago
padding
does appear have an effect on text and image nodes, but it behaves like min_width
and min_height
instead.
Increasing the padding in the example above to exceed the size of the text or image will show the effect.
Bevy version
Bevy 0.9
What you did
What went wrong
The UI ignores padding when a node contains text or an image.
Additional information
related issues #5502, #6825