Commit bfe332c4 authored by Hixie's avatar Hixie

Make PopupMenuItem take a single child instead of an implicitly-flex list of children.

TBR=abarth

Review URL: https://codereview.chromium.org/1187463013.
parent 249dc8af
...@@ -30,9 +30,9 @@ class StockMenu extends Component { ...@@ -30,9 +30,9 @@ class StockMenu extends Component {
child: new PopupMenu( child: new PopupMenu(
controller: controller, controller: controller,
items: [ items: [
[new Text('Add stock')], new Text('Add stock'),
[new Text('Remove stock')], new Text('Remove stock'),
[new Flexible(child: new Text('Autorefresh')), checkbox], new Flex([new Flexible(child: new Text('Autorefresh')), checkbox]),
], ],
level: 4 level: 4
), ),
......
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