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

Unified Diff: sky/framework/components/popup_menu.dart

Issue 1024083003: Use StyleNode in StockMenu (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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/examples/stocks-fn/lib/stock_menu.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/components/popup_menu.dart
diff --git a/sky/framework/components/popup_menu.dart b/sky/framework/components/popup_menu.dart
index ea736016b0571a658f2d32972f5f87dd3c8f3fe7..18996b75c2dfd88cb19b9ea1bf1226c7a2c23194 100644
--- a/sky/framework/components/popup_menu.dart
+++ b/sky/framework/components/popup_menu.dart
@@ -37,8 +37,8 @@ class PopupMenu extends AnimatedComponent {
static final Style _style = new Style('''
border-radius: 2px;
padding: 8px 0;
- background-color: ${Grey[50]};'''
- );
+ box-sizing: border-box;
+ background-color: ${Grey[50]};''');
List<List<Node>> items;
int level;
« no previous file with comments | « sky/examples/stocks-fn/lib/stock_menu.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698