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

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

Issue 1166203002: Rename Container's desiredSize argument to width and height arguments. (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/components2/menu_divider.dart ('k') | sky/sdk/lib/framework/components2/radio.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/components2/menu_item.dart
diff --git a/sky/sdk/lib/framework/components2/menu_item.dart b/sky/sdk/lib/framework/components2/menu_item.dart
index 79db993cb59570c42a8290b1654817a26df7358c..bf47b4d31d56267516d0ea194aa8dfe0ff7c2d9f 100644
--- a/sky/sdk/lib/framework/components2/menu_item.dart
+++ b/sky/sdk/lib/framework/components2/menu_item.dart
@@ -40,7 +40,7 @@ class MenuItem extends ButtonBase {
)
]
),
- desiredSize: const Size.fromHeight(48.0),
+ height: 48.0,
decoration: highlight ? highlightDecoration : null
),
onGestureTap: onGestureTap
« no previous file with comments | « sky/sdk/lib/framework/components2/menu_divider.dart ('k') | sky/sdk/lib/framework/components2/radio.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698