Collin Jackson
56d1aa0b94
Fix cross size of flex items in stocks app (more tests incoming)
...
R=abarth@chromium.org , abarth
Review URL: https://codereview.chromium.org/1176053002
2015-06-10 12:54:26 -07:00
Collin Jackson
950b3d40c5
Extend Sky's RenderFlex with intrinsic sizes and compute cross-size height
...
Renders interactive_flex and stocks demos fine. Could use more testing,
so I'm going to work on that after I land this.
R=abarth@chromium.org , abarth
Review URL: https://codereview.chromium.org/1173493003
2015-06-10 10:11:58 -07:00
Adam Barth
f183f6a173
Position the popup menu in stocks2 correctly
...
This CL pulled an implementation of position: absolute in RenderStackContainer.
R=eseidel@chromium.org , ianh@google.com
Review URL: https://codereview.chromium.org/1166363002 .
2015-06-09 09:22:50 -07:00
Adam Barth
903ef07abb
Split getIntrinsicDimensions into four pieces
...
This CL splits getIntrinsicDimensions into getMinIntrinsicWidth,
getMaxIntrinsicWidth, getMinIntrinsicHeight, and getMaxIntrinsicHeight so that
we can properly shrink-wrap the stocks app menu. This CL just contains the
refactoring. The use in stocks app will come in a later CL.
R=ianh@google.com
Review URL: https://codereview.chromium.org/1167293003
2015-06-08 14:40:34 -07:00
Collin Jackson
d4ef9dcb26
Sky support for flexbox justify content
...
R=abarth@chromium.org , abarth
Review URL: https://codereview.chromium.org/1164363002
2015-06-08 14:14:02 -07:00
Hixie
12aa568fc4
Export Point, Size, Rect, Color, Paint, Path, BoxDecoration, Border, BorderSide, EdgeDims, and FlexDirection from fn2.dart
...
That way most of our libraries don't have to use sky.Foo all over the place, and we can reduce the number of imports in most Dart components.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/1161323004
2015-06-05 10:18:50 -07:00
Hixie
8ee5aa0bc6
Give RenderObject a useful toString().
...
This makes debugging the render tree a lot easier. Just print the node
you care about, and you get an indented tree view of its subtree,
including settings. New subclasses should implement the new virtual
method debugDescribeSettings() to expose new settings.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/1157993005
2015-06-04 14:10:07 -07:00
Hixie
6a0d1ffb2f
Style guide says enum values should be lowerCamelCase.
...
https://www.dartlang.org/articles/style-guide/#names
R=jackson@google.com
Review URL: https://codereview.chromium.org/1158813004
2015-06-04 12:24:10 -07:00
Hixie
8e34567652
Rename RenderNode to RenderObject.
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/1165013003
2015-06-04 10:45:21 -07:00
Hixie
e8cafd9d71
Rename rendering/render_*.dart to rendering/*.dart
...
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/1166773003
2015-06-02 13:55:20 -07:00