| Index: sky/sdk/lib/framework/components2/popup_menu.dart
|
| diff --git a/sky/sdk/lib/framework/components2/popup_menu.dart b/sky/sdk/lib/framework/components2/popup_menu.dart
|
| index 71559a528aa9e1b7272a2a4474038325771c5c48..a398980bf594da7b6aee5dad2ba09865b96a9fca 100644
|
| --- a/sky/sdk/lib/framework/components2/popup_menu.dart
|
| +++ b/sky/sdk/lib/framework/components2/popup_menu.dart
|
| @@ -98,14 +98,17 @@ class PopupMenu extends AnimatedComponent {
|
| return new PopupMenuItem(key: i++, children: item, opacity: opacity);
|
| }));
|
|
|
| - return new Material(
|
| - content: new Container(
|
| - padding: const EdgeDims.all(8.0),
|
| - // border-radius: 2px
|
| - decoration: new BoxDecoration(backgroundColor: Grey[50]),
|
| - // inlineStyle: _inlineStyle(),
|
| - child: new BlockContainer(children: children)
|
| - ),
|
| - level: level);
|
| + return new ShrinkWrapWidth(
|
| + child: new Material(
|
| + content: new Container(
|
| + padding: const EdgeDims.all(8.0),
|
| + // border-radius: 2px
|
| + decoration: new BoxDecoration(backgroundColor: Grey[50]),
|
| + // inlineStyle: _inlineStyle(),
|
| + child: new BlockContainer(children: children)
|
| + ),
|
| + level: level
|
| + )
|
| + );
|
| }
|
| }
|
|
|