| Index: sky/sdk/lib/rendering/box.dart
|
| diff --git a/sky/sdk/lib/rendering/box.dart b/sky/sdk/lib/rendering/box.dart
|
| index bd71c167823c3059fc7e0ea2990ee9ed004fb9a2..55017dc42323d2b6847830f9e5cfcf2172d16fcf 100644
|
| --- a/sky/sdk/lib/rendering/box.dart
|
| +++ b/sky/sdk/lib/rendering/box.dart
|
| @@ -63,7 +63,7 @@ class EdgeDims {
|
| String toString() => "EdgeDims($top, $right, $bottom, $left)";
|
| }
|
|
|
| -class BoxConstraints {
|
| +class BoxConstraints extends Constraints {
|
| const BoxConstraints({
|
| this.minWidth: 0.0,
|
| this.maxWidth: double.INFINITY,
|
| @@ -185,8 +185,8 @@ class BoxConstraints {
|
|
|
| bool get isInfinite => maxWidth >= double.INFINITY && maxHeight >= double.INFINITY;
|
|
|
| - bool get hasTightWidth => minWidth == maxWidth;
|
| - bool get hasTightHeight => minHeight == maxHeight;
|
| + bool get hasTightWidth => minWidth >= maxWidth;
|
| + bool get hasTightHeight => minHeight >= maxHeight;
|
| bool get isTight => hasTightWidth && hasTightHeight;
|
|
|
| bool operator ==(other) {
|
|
|