You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
i update maui example in f2d46a3, a grid split to two part, one part is a constraintlayout, but constraintlayout can't deal with it, because if grid split give a not int value, constraintlayout alway return int, that let layout will infinite loop because result have bias.
For solve this problem, i would try use px as unit when measure and layout in constraintlayout, but set property and fluentlayoytconstraintset use dp, return size to maui a dp value, that will let it not always is int.
The text was updated successfully, but these errors were encountered:
fix in 5afb519 , 我还增加了点对其它doube to int的修改, 暂时不知道影响, 其它测试的外观都还正常
test in a816e75 , FitGridTest的结果可以看到最终分配的大小还是按照Grid的设置分的, 所以对于ConstraintLayout来说, 内部会有1dp的偏差, 如果使用px, 偏差应该减小到1px, 但当前未打算修改
Problem:
i update maui example in f2d46a3, a grid split to two part, one part is a constraintlayout, but constraintlayout can't deal with it, because if grid split give a not int value, constraintlayout alway return int, that let layout will infinite loop because result have bias.
For solve this problem, i would try use px as unit when measure and layout in constraintlayout, but set property and fluentlayoytconstraintset use dp, return size to maui a dp value, that will let it not always is int.
The text was updated successfully, but these errors were encountered: