mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
Request layout after weight updating
This commit is contained in:
@@ -406,6 +406,7 @@ internal class DivContainerBinder @Inject constructor(
|
||||
val params = layoutParams
|
||||
if (params is LinearLayoutCompat.LayoutParams) {
|
||||
params.weight = size.weight?.evaluate(resolver)?.toFloat() ?: 1.0f
|
||||
requestLayout()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user