| Index: sky/sdk/lib/widgets/popup_menu_item.dart
|
| diff --git a/sky/sdk/lib/widgets/popup_menu_item.dart b/sky/sdk/lib/widgets/popup_menu_item.dart
|
| index 17147cd10a8afccc2fa7c769e1744ac1b1e5c24b..c87dc0d5ca9dd4fbe450e23db5c46ab0bb018d3e 100644
|
| --- a/sky/sdk/lib/widgets/popup_menu_item.dart
|
| +++ b/sky/sdk/lib/widgets/popup_menu_item.dart
|
| @@ -8,6 +8,9 @@ import 'default_text_style.dart';
|
| import 'ink_well.dart';
|
| import 'theme.dart';
|
|
|
| +const double kMenuItemHeight = 48.0;
|
| +const double kBaselineOffsetFromBottom = 20.0;
|
| +
|
| class PopupMenuItem extends Component {
|
| PopupMenuItem({ String key, this.child, this.opacity}) : super(key: key);
|
|
|
| @@ -21,10 +24,13 @@ class PopupMenuItem extends Component {
|
| opacity: opacity,
|
| child: new InkWell(
|
| child: new Container(
|
| - height: 48.0,
|
| + height: kMenuItemHeight,
|
| child: new DefaultTextStyle(
|
| style: textStyle,
|
| - child: child
|
| + child: new Baseline(
|
| + baseline: kMenuItemHeight - kBaselineOffsetFromBottom,
|
| + child: child
|
| + )
|
| )
|
| )
|
| )
|
|
|