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

Unified Diff: sky/sdk/lib/framework/components2/tool_bar.dart

Issue 1181533002: Rename BlockContainer, StackContainer, and FlexContainer (Closed) Base URL: git@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
« no previous file with comments | « sky/sdk/lib/framework/components2/popup_menu_item.dart ('k') | sky/sdk/lib/framework/fn2.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 644f6163d082ae9a922b904c19fce53a1af4d6eb..ea5dec223a4b0118c12813ce78f6b343776f5360 100644
--- a/sky/sdk/lib/framework/components2/tool_bar.dart
+++ b/sky/sdk/lib/framework/components2/tool_bar.dart
@@ -35,13 +35,12 @@ class ToolBar extends Component {
if (right != null)
children.addAll(right);
- // TODO(hansmuller): use align-items:flex-end when FlexContainer supports it.
- UINode bottomJustifiedChild = new FlexContainer(
+ // 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,
- children: [new Container(
- child: new FlexContainer(children: children),
- height: kToolBarHeight)]);
+ justifyContent: FlexJustifyContent.flexEnd);
return new Container(
child: bottomJustifiedChild,
« no previous file with comments | « sky/sdk/lib/framework/components2/popup_menu_item.dart ('k') | sky/sdk/lib/framework/fn2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698