- 02 Oct, 2017 1 commit
-
-
Adam Barth authored
Unlike FractionalOffset, Alignment uses the center as the zero of the coordinate system, which makes the RTL math work out much cleaner. Also, make FractionalOffset into a subclass of Alignment so that clients can continue to use FractionalOffset.
-
- 07 Sep, 2017 1 commit
-
-
Ian Hickson authored
-
- 09 Dec, 2016 1 commit
-
-
Alexandre Ardhuin authored
-
- 22 Mar, 2016 1 commit
-
-
Hixie authored
New RenderAligningShiftedBox abstract class for render boxes with "alignment", which as of now is: - RenderPositionedBox - RenderConstrainedOverflowBox (ex RenderOverflowBox) - RenderSizedOverflowBox - RenderFractionallySizedOverflowBox (ex RenderFractionallySizedBox) (The respective widgets are Align, OverflowBox, SizedOverflowBox, and FractionallySizedBox. They haven't been renamed.) Also I added some toString details.
-
- 24 Feb, 2016 1 commit
-
-
Adam Barth authored
Now we just have one TextSpan class that handles both simple strings, trees of children, and styling both. This approach simplifies the interface for most clients. This patch also removes StyledText, which was weakly typed and tricky to use correctly. The replacement is RichText, which is strongly typed and uses TextSpan.
-
- 29 Jan, 2016 1 commit
-
-
Adam Barth authored
This patch changes the default alignment of OverflowBox to center rather than having a bias towards the upper-left corner. Fixes #1236
-
- 16 Dec, 2015 1 commit
-
-
Ian Hickson authored
-
- 14 Dec, 2015 1 commit
-
-
Ian Hickson authored
-
- 20 Nov, 2015 1 commit
-
-
Adam Barth authored
Many of the widgets that use CustomPaint were spamming repaints because CustomPaint repaints when the identity of the onPaint callback changes, which it does every build for StatelessComponents. This patch changes CustomPaint to use a CustomPainter, similar to the new custom layout widgets. The CustomPainter has a `shouldRepaint` function along with its `paint` function. This function gives clients explicit control over when the custom paint object repaints.
-
- 20 Oct, 2015 1 commit
-
-
Hixie authored
I accidentally lost this when extracting RenderOverflowBox from RenderProxyBox.
-