Commit 41bb084e authored by 林生雨's avatar 林生雨

w'

parent 8c7389ed
...@@ -434,15 +434,20 @@ class LevelOneState extends BaseState<LevelOnePage> ...@@ -434,15 +434,20 @@ class LevelOneState extends BaseState<LevelOnePage>
child: Row( child: Row(
children: <Widget>[ children: <Widget>[
Container( Container(
constraints: BoxConstraints( width: 52,
maxWidth: 52, // constraints: BoxConstraints(
), // maxWidth: 52,
// minWidth:
// ),
child: Text( child: Text(
element.attrName, element.attrName.length == 2
? "${element.attrName.substring(0,1)} ${element.attrName.substring(1,2)}"
: element.attrName,
textScaleFactor: 1.0, textScaleFactor: 1.0,
softWrap: true, softWrap: true,
maxLines: 1, maxLines: 1,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
textAlign: TextAlign.start,
style: TextStyle( style: TextStyle(
decoration: TextDecoration.none, decoration: TextDecoration.none,
fontSize: 13, fontSize: 13,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment