| Index: sky/sdk/example/rendering/simple_autolayout.dart
|
| diff --git a/sky/sdk/example/rendering/simple_autolayout.dart b/sky/sdk/example/rendering/simple_autolayout.dart
|
| index 4fe2526e4b5f5979c716b3cda0496738e59c6357..3c8d6038a9077c6ff457ccc4f996d6c82a6eb159 100644
|
| --- a/sky/sdk/example/rendering/simple_autolayout.dart
|
| +++ b/sky/sdk/example/rendering/simple_autolayout.dart
|
| @@ -46,7 +46,7 @@ void main() {
|
|
|
| // The width of the second box should be twice as much as that of the first
|
| // and third
|
| - (p2.width * al.CM(2.0) == p1.width) as al.Constraint,
|
| + (p2.width * al.cm(2.0) == p1.width) as al.Constraint,
|
|
|
| // The height of the three boxes should be equal to that of the container
|
| (p1.height == p2.height) as al.Constraint,
|
| @@ -55,10 +55,10 @@ void main() {
|
|
|
| // The fourth box should be half as wide as the second and must be attached
|
| // to the right edge of the same (by its center)
|
| - (p4.width == p2.width / al.CM(2.0)) as al.Constraint,
|
| - (p4.height == al.CM(50.0)) as al.Constraint,
|
| + (p4.width == p2.width / al.cm(2.0)) as al.Constraint,
|
| + (p4.height == al.cm(50.0)) as al.Constraint,
|
| (p4.horizontalCenter == p2.rightEdge) as al.Constraint,
|
| - (p4.verticalCenter == p2.height / al.CM(2.0)) as al.Constraint,
|
| + (p4.verticalCenter == p2.height / al.cm(2.0)) as al.Constraint,
|
| ]);
|
|
|
| new SkyBinding(root: root);
|
|
|