FlaxEngine / FlaxEngine/FlaxEngine
UI Margin Bug with Stretch Anchor
Open
- Dominant language
- C++
- Stars
- 7k
- Forks
- 713
- Avg merge
- 7d 11h
- Merged PRs (30d)
- 19
Description
**Issue description:**
Button margin collapses.
**Steps to reproduce:**
- Add a Horizontal Panel.
- Set the anchor of the Horizontal Panel to stretch all.
- Add a button to the Horizontal Panel.
- Set the anchor of the Button to stretch all.
- Button disappears.
You can see me stepping through the issue here:
https://drive.google.com/file/d/1DJrj1YX53L4yJDZ3QUEGDrvOMQpzfzL6/view?usp=sharing
It appears the Margin collapses as a result:

**Flax version:**
Current source version
Contributor guide
Assessment
This issue has not been assessed yet.