Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

The game view is not displayed properly #433

Open
DuGlaser opened this issue Jul 18, 2020 · 0 comments
Open

The game view is not displayed properly #433

DuGlaser opened this issue Jul 18, 2020 · 0 comments

Comments

@DuGlaser
Copy link

DuGlaser commented Jul 18, 2020

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"
                        )
                    ),
                }
            ),
        }
    )
)

normalcy

スクリーンショット 2020-07-18 21 36 14

anomaly

スクリーンショット 2020-07-18 20 39 39

My environment

  • MacOS 10.15.5 (x64)
  • Unity 2019.4.3f1
  • UIWidgets version1.5.4 (I also cloned the github one and tried it)

reappearance

I've created a sample repository.
Try it here!

https://github.com/DuGlaser/UnityUIWidgetBugSample

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant