how to refresh layout after change textsize? #956
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Report
Issues and Steps to Reproduce
I use YogaLayout to add a TextView as a child:
after 5s,I modify the textSize of the textview,the text became larger,but the layout of YogaLayout and TextView don't change~.
i try to use these codes after change textSize ,but not work:
so,how to change the layout after i change child's LayoutParams in YogaLayout?
hey, how do you solve this problem @icemanstudy ?
The following code will relayout at
pod 'YogaKit', '~> 1.18.1'
We're deprecating the
com.facebook.yoga.android.YogaLayout
ViewGroup in the next major release of Yoga. We intend to still push out a new version aligned to the core Yoga 2.0. I have bulk closed ViewGroup issues to reflect that we are not planning to invest time into functional changes of the ViewGroup. and eventually intend to remove it from the repo.