We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
复现步骤 复现该 Bug 的步骤:
原因 第一行的最后一列文字溢出,改变了单元格的宽度:
The text was updated successfully, but these errors were encountered:
I have no idea why the padding between stars become so large under mobile platforms.
Sorry, something went wrong.
@HydrogenC 问题在这里:
DanXi/lib/page/danke/course_review_editor.dart
Line 429 in 6d0cb6d
指定列的宽度时,1.fr 代表「布局后,按此比例分配剩余空间」,auto 代表「总是尊重该子控件声称的 Intrinsic width」。
1.fr
auto
因此这样写,则显示评分项和说明的 Text 控件的宽度总是被尊重,而被设为 1.fr 的评分条,其内在宽度被无视,只能获得剩下的空间。这显然和我们需要的相反:Text 控件挤一点甚至截断都无所谓,评分条必须完整展示。
Text
反转两者后即获得相对正常的挤压效果:
ec46ca4
Merge pull request #376 from DanXi-Dev/fix-361
a514967
fix: #361
w568w
Successfully merging a pull request may close this issue.
复现步骤
复现该 Bug 的步骤:
原因
第一行的最后一列文字溢出,改变了单元格的宽度:
The text was updated successfully, but these errors were encountered: