| Index: sky/sdk/lib/framework/components2/tool_bar.dart
|
| diff --git a/sky/sdk/lib/framework/components2/tool_bar.dart b/sky/sdk/lib/framework/components2/tool_bar.dart
|
| index ea5dec223a4b0118c12813ce78f6b343776f5360..a4df2eb8a32c7bcde727e6fc44740c6343e82b57 100644
|
| --- a/sky/sdk/lib/framework/components2/tool_bar.dart
|
| +++ b/sky/sdk/lib/framework/components2/tool_bar.dart
|
| @@ -35,15 +35,11 @@ class ToolBar extends Component {
|
| if (right != null)
|
| children.addAll(right);
|
|
|
| - // TODO(hansmuller): use align-items:flex-end when Flex supports it.
|
| - UINode bottomJustifiedChild = new Flex([
|
| - new Container(child: new Flex(children), height: kToolBarHeight)
|
| - ],
|
| - direction: FlexDirection.vertical,
|
| - justifyContent: FlexJustifyContent.flexEnd);
|
| -
|
| return new Container(
|
| - child: bottomJustifiedChild,
|
| + child: new Flex(
|
| + [new Container(child: new Flex(children), height: kToolBarHeight)],
|
| + alignItems: FlexAlignItems.flexEnd
|
| + ),
|
| padding: new EdgeDims.symmetric(horizontal: 8.0),
|
| decoration: new BoxDecoration(
|
| backgroundColor: backgroundColor,
|
|
|