Index: sky/sdk/lib/framework/layouts/block.dart |
diff --git a/sky/sdk/lib/framework/layouts/block.dart b/sky/sdk/lib/framework/layouts/block.dart |
deleted file mode 100644 |
index 33f464d7f2dd4887bcbb76fd61b51d4cc1624a97..0000000000000000000000000000000000000000 |
--- a/sky/sdk/lib/framework/layouts/block.dart |
+++ /dev/null |
@@ -1,30 +0,0 @@ |
- |
-import 'dart:sky' as sky; |
-import '../fn.dart'; |
- |
-class BlockLayout extends LayoutContainer { |
- |
- BlockLayout({ |
- Object key, |
- List<UINode> children, |
- Style style, |
- String inlineStyle |
- }) : super( |
- key: key, |
- children: children, |
- style: style, |
- inlineStyle: inlineStyle |
- ); |
- |
- void layout(sky.Element skyNode) { |
- double y = 0.0; |
- skyNode.width = skyNode.parentNode.width; |
- skyNode.getChildNodes().forEach((child) { |
- child.layout(); |
- child.x = 0.0; |
- child.y = y; |
- y += child.height; |
- }); |
- skyNode.height = y; |
- } |
-} |