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

Unified Diff: sky/sdk/lib/widgets/popup_menu_item.dart

Issue 1215613005: Improve the padding and sizing of popup menus. (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
« sky/sdk/lib/rendering/box.dart ('K') | « sky/sdk/lib/widgets/popup_menu.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 42c0ce40ad602595fbd0c8623c87914ff8b626c5..17147cd10a8afccc2fa7c769e1744ac1b1e5c24b 100644
--- a/sky/sdk/lib/widgets/popup_menu_item.dart
+++ b/sky/sdk/lib/widgets/popup_menu_item.dart
@@ -21,8 +21,7 @@ class PopupMenuItem extends Component {
opacity: opacity,
child: new InkWell(
child: new Container(
- constraints: const BoxConstraints(minWidth: 112.0),
- padding: const EdgeDims.all(16.0),
+ height: 48.0,
child: new DefaultTextStyle(
style: textStyle,
child: child
« sky/sdk/lib/rendering/box.dart ('K') | « sky/sdk/lib/widgets/popup_menu.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698