{"action":"opened","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/25782","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/25782/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/25782/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/25782/events","html_url":"https://github.com/flutter/flutter/issues/25782","id":394179299,"node_id":"MDU6SXNzdWUzOTQxNzkyOTk=","number":25782,"title":"Text position is not cented in PopupMenuItem","user":{"login":"xia-weiyang","id":11485324,"node_id":"MDQ6VXNlcjExNDg1MzI0","avatar_url":"https://avatars3.githubusercontent.com/u/11485324?v=4","gravatar_id":"","url":"https://api.github.com/users/xia-weiyang","html_url":"https://github.com/xia-weiyang","followers_url":"https://api.github.com/users/xia-weiyang/followers","following_url":"https://api.github.com/users/xia-weiyang/following{/other_user}","gists_url":"https://api.github.com/users/xia-weiyang/gists{/gist_id}","starred_url":"https://api.github.com/users/xia-weiyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xia-weiyang/subscriptions","organizations_url":"https://api.github.com/users/xia-weiyang/orgs","repos_url":"https://api.github.com/users/xia-weiyang/repos","events_url":"https://api.github.com/users/xia-weiyang/events{/privacy}","received_events_url":"https://api.github.com/users/xia-weiyang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-26T14:32:26Z","updated_at":"2018-12-26T14:32:26Z","closed_at":null,"author_association":"NONE","body":" It's a bug.\r\n\r\n![2018-12-26 22-11-35](https://user-images.githubusercontent.com/11485324/50448303-525cd400-095b-11e9-8fb1-a054989abd82.png)\r\n\r\nText position is not cented in PopupMenuItem When I set the language to Chinese.\r\n\r\n``` dart\r\n  @override\r\n  Widget build(BuildContext context) {\r\n    return MaterialApp(\r\n      title: 'Demo',\r\n      localizationsDelegates: [\r\n        GlobalMaterialLocalizations.delegate,\r\n        GlobalWidgetsLocalizations.delegate,\r\n      ],\r\n      supportedLocales: [\r\n        const Locale('zh', 'CN'),\r\n      ],\r\n      locale: const Locale('zh', 'CN'),\r\n      home: LaunchPage(),\r\n    );\r\n  }\r\n```\r\nI am sure this is the reason, because it wokes fine when I commented out this code. It's like gallery.\r\n\r\nIt has no effect when I am try to use padding or center warp this text widget. I don't know why, but I hope\r\nto resove this problem.\r\n\r\n## Logs\r\n\r\n```\r\n[✓] Flutter (Channel beta, v1.0.0, on Linux, locale zh_CN.UTF-8)\r\n    • Flutter version 1.0.0 at /home/xia/develop/flutter/flutter\r\n    • Framework revision 5391447fae (4 周前), 2018-11-29 19:41:26 -0800\r\n    • Engine revision 7375a0f414\r\n    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)\r\n\r\n[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)\r\n    • Android SDK at /home/xia/Android/Sdk\r\n    • Android NDK location not configured (optional; useful for native profiling\r\n      support)\r\n    • Platform android-28, build-tools 28.0.3\r\n    • Java binary at:\r\n      /home/xia/develop/tool/android-studio-ide-181.5014246-linux/android-studio\r\n      /jre/bin/java\r\n    • Java version OpenJDK Runtime Environment (build\r\n      1.8.0_152-release-1136-b06)\r\n    • All Android licenses accepted.\r\n\r\n[✓] Android Studio (version 3.2)\r\n    • Android Studio at\r\n      /home/xia/develop/tool/android-studio-ide-181.5014246-linux/android-studio\r\n    • Flutter plugin version 31.1.1\r\n    • Dart plugin version 181.5656\r\n    • Java version OpenJDK Runtime Environment (build\r\n      1.8.0_152-release-1136-b06)\r\n\r\n[!] IntelliJ IDEA Ultimate Edition (version 2018.2)\r\n    • IntelliJ at /home/xia/develop/tool/ideaIU-2018.2.4/idea-IU-182.4505.22\r\n    ✗ Flutter plugin not installed; this adds Flutter specific functionality.\r\n    ✗ Dart plugin not installed; this adds Dart specific functionality.\r\n    • For information about installing plugins, see\r\n      https://flutter.io/intellij-setup/#installing-the-plugins\r\n\r\n[✓] Connected device (1 available)\r\n    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API\r\n      28) (emulator)\r\n\r\n```\r\n"}}
{"actor":{"display_login":"xia-weiyang"}}