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

Unified Diff: sky/sdk/lib/framework/components2/checkbox.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
Index: sky/sdk/lib/framework/components2/checkbox.dart
diff --git a/sky/sdk/lib/framework/components2/checkbox.dart b/sky/sdk/lib/framework/components2/checkbox.dart
index 331ab9b7bb442b950183435210a177ee8be38b81..406c83b60a2c7a71b15cf7a70c582d951ffe2158 100644
--- a/sky/sdk/lib/framework/components2/checkbox.dart
+++ b/sky/sdk/lib/framework/components2/checkbox.dart
@@ -31,7 +31,8 @@ class Checkbox extends ButtonBase {
return new EventListenerNode(
new Container(
margin: const EdgeDims.symmetric(horizontal: 5.0),
- desiredSize: new sky.Size(edgeSize + 2.0, edgeSize + 2.0),
+ width: edgeSize + 2.0,
+ height: edgeSize + 2.0,
child: new CustomPaint(
callback: (sky.Canvas canvas) {

Powered by Google App Engine
This is Rietveld 408576698