Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Unified Diff: sky/sdk/lib/framework/widgets/menu_item.dart

Issue 1179713004: Material and RaisedButton. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/sdk/lib/framework/widgets/material.dart ('k') | sky/sdk/lib/framework/widgets/popup_menu.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/widgets/menu_item.dart
diff --git a/sky/sdk/lib/framework/widgets/menu_item.dart b/sky/sdk/lib/framework/widgets/menu_item.dart
index 52d1c5310e0a6061001faa78a8221e5b272cf9e3..b06134a7035a202d28988d8ed090247a2803e9d8 100644
--- a/sky/sdk/lib/framework/widgets/menu_item.dart
+++ b/sky/sdk/lib/framework/widgets/menu_item.dart
@@ -40,7 +40,7 @@ class MenuItem extends ButtonBase {
return new EventListenerNode(
new Container(
child: new InkWell(
- children: [
+ child: new Flex([
new Padding(
child: new Icon(type: "${icon}_grey600", size: 24),
padding: const EdgeDims.symmetric(horizontal: 16.0)
@@ -52,7 +52,7 @@ class MenuItem extends ButtonBase {
),
flex: 1
)
- ]
+ ])
),
height: 48.0,
decoration: highlight ? _kHighlightDecoration : _kHighlightBoring
« no previous file with comments | « sky/sdk/lib/framework/widgets/material.dart ('k') | sky/sdk/lib/framework/widgets/popup_menu.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698