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

Unified Diff: sky/sdk/lib/framework/fn2.dart

Issue 1166363002: Position the popup menu in stocks2 correctly (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/examples/stocks2/lib/stock_menu.dart ('k') | sky/sdk/lib/framework/rendering/box.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/fn2.dart
diff --git a/sky/sdk/lib/framework/fn2.dart b/sky/sdk/lib/framework/fn2.dart
index 197f1d0f748de17f18e3209503e00cf4f8aa2f48..9ca123fcf61108d89ec67221dad9ca66b7e1672d 100644
--- a/sky/sdk/lib/framework/fn2.dart
+++ b/sky/sdk/lib/framework/fn2.dart
@@ -704,6 +704,15 @@ class StackContainer extends MultiChildRenderObjectWrapper {
: super(key: key, children: children);
}
+class StackPositionedChild extends ParentDataNode {
+ StackPositionedChild(UINode content, {
+ double top, double right, double bottom, double left
+ }) : super(content, new StackParentData()..top = top
+ ..right = right
+ ..bottom = bottom
+ ..left = left);
+}
+
class Paragraph extends RenderObjectWrapper {
RenderParagraph root;
RenderParagraph createNode() => new RenderParagraph(text: text);
« no previous file with comments | « sky/examples/stocks2/lib/stock_menu.dart ('k') | sky/sdk/lib/framework/rendering/box.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698