Open DuGlaser opened 4 years ago
When I write code like the one above, the game view may be broken.
body: new Container( child: new Column( children: new List<Widget>{ new Column( children: new List<Widget>{ new Container( padding: EdgeInsets.fromLTRB(deviseSize.width * .03f, deviseSize.height * .03f, deviseSize.width * .03f, deviseSize.height * .01f), width: deviseSize.width, color: Colors.black12, child: new Text( "samplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesample" ) ), new Container( padding: EdgeInsets.fromLTRB(deviseSize.width * .03f, deviseSize.height * .03f, deviseSize.width * .03f, deviseSize.height * .01f), width: deviseSize.width, color: Colors.white, child: new Text( "samplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesample" ) ), } ), new Column( children: new List<Widget>{ new Container( padding: EdgeInsets.fromLTRB(deviseSize.width * .03f, deviseSize.height * .03f, deviseSize.width * .03f, deviseSize.height * .01f), width: deviseSize.width, color: Colors.black12, child: new Text( "samplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesample" ) ), new Container( padding: EdgeInsets.fromLTRB(deviseSize.width * .03f, deviseSize.height * .03f, deviseSize.width * .03f, deviseSize.height * .01f), width: deviseSize.width, color: Colors.white, child: new Text( "samplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesamplesample" ) ), } ), } ) )
I've created a sample repository. Try it here!
https://github.com/DuGlaser/UnityUIWidgetBugSample
When I write code like the one above, the game view may be broken.
normalcy
anomaly
My environment
reappearance
I've created a sample repository. Try it here!