Closed CtrlJone closed 1 month ago
@CtrlJone could you provide a reproducible example for this, and visual results?
The only thing I could think of, without knowing how this is being used, is a bugfix where justify-content: space-around will no longer incorrectly remove padding or other inflexible minimums on overflow.
Of course , this is my demo @NickGerleman YogaDemo.zip
Report
Issues and Steps to Reproduce
I integrated version 3.1.0 using Swift’s DSL approach and found that when the text changes width, its compression behavior is not functioning as expected. In version 3.0.4, it works normally. Could you please let me know what changes were made?
Expected Behavior
When the text of gainLabel changes, the width of dashLineView should adjust accordingly, so the padding of contentView should be effective.
Actual Behavior
After switching to version 3.1.0, when the text of gainLabel changes, the width of dashLineView only increases and does not decrease. This causes gainLabel to exceed the width of contentView, making the padding of contentView ineffective.
Link to Code
When applicable, use this fiddle to post a web repro.