Index: sky/sdk/lib/widgets/tool_bar.dart |
diff --git a/sky/sdk/lib/widgets/tool_bar.dart b/sky/sdk/lib/widgets/tool_bar.dart |
index 525153d42b31756e4f060fcf415ce5b22d44c73f..36557b373913dbd275ed4cd7d6466f11b8582c0f 100644 |
--- a/sky/sdk/lib/widgets/tool_bar.dart |
+++ b/sky/sdk/lib/widgets/tool_bar.dart |
@@ -28,8 +28,14 @@ class ToolBar extends Component { |
children.add(left); |
if (center != null) { |
- children.add(new FlexExpandingChild( |
- new Padding(child: center, padding: new EdgeDims.only(left: 24.0)))); |
+ children.add( |
+ new Flexible( |
+ child: new Padding( |
+ child: center, |
+ padding: new EdgeDims.only(left: 24.0) |
+ ) |
+ ) |
+ ); |
} |
if (right != null) |