1. 11 Jan, 2016 4 commits
    • Adam Barth's avatar
      TabView fails to update tab contents · 432b1793
      Adam Barth authored
      When the TabView widget's children change, we don't change the children
      we give to the PageViewport because we fail to update _items. This patch
      watches didChangeConfig and updates _items appropriately.
      
      Fixes #1134
      Fixes #1168
      432b1793
    • Adam Barth's avatar
      Simplify TabView API · dd08bf79
      Adam Barth authored
      Instead of taking a builder and a generic type, we can just take a
      List<Widget>.
      dd08bf79
    • Ian Hickson's avatar
      Merge Container's width, height, and constraints · 0379744c
      Ian Hickson authored
      Without this, FlatButton ends up using two RenderConstrainedBoxes back
      to back for no good reason.
      0379744c
    • Ian Hickson's avatar
      tightenWidth(), tightenHeight() => tighten(width:, height:) · c21b565f
      Ian Hickson authored
      This makes it more consistent with tightFor(), and also makes it
      easier to tighten both directions at once when you're not sure you
      will always do so (e.g. if you have a height and width that might be
      null, and want to tighten whichever ones aren't null).
      c21b565f
  2. 10 Jan, 2016 3 commits
  3. 09 Jan, 2016 3 commits
    • Ian Hickson's avatar
      Fix crazy assertion. · f07a0c98
      Ian Hickson authored
      Not sure what I was doing when I wrote this assertion, but I'm pretty
      sure it's wrong. I'm guessing the change here is what I actually meant
      to write.
      f07a0c98
    • Ian Hickson's avatar
      Add more debugPaintSizeEnabled construction lines. · 20a01b42
      Ian Hickson authored
      - padding is shown in blue with a darker blue around the child
      - spacing (empty size boxes or padding) is shown in gray
      - alignment from a RenderPositionedBox is shown with yellow arrows
      20a01b42
    • Adam Barth's avatar
      Drawer edge swipe convers entire screen · 1ef3f82e
      Adam Barth authored
      When I tightened up the layout constraints for the Drawer in the
      Scaffold, I ended up making the edge swipe detector cover the entire
      screen.  This patch fixes that issue by putting the gesture detector for
      the edge swipe just around the container with the proper width. We now
      use a global key to maintain the state across hierarchy changes.
      1ef3f82e
  4. 08 Jan, 2016 6 commits
  5. 07 Jan, 2016 9 commits
  6. 06 Jan, 2016 5 commits
  7. 05 Jan, 2016 3 commits
    • Adam Barth's avatar
      Complete features of ScrollableList2 · 37106ea6
      Adam Barth authored
      This patch implements the remaining missing features of ScrollableList2.
      It should now be nearly a drop-in replacement for ScrollableList. The
      next patch will switch callers over to the new machinery.
      37106ea6
    • Adam Barth's avatar
      Remove ScrollDirection.both · 7aa575b0
      Adam Barth authored
      Almost none of the clients of ScrollDirection can handle scrolling in both
      directions.
      
      Fixes #151
      7aa575b0
    • Adam Barth's avatar
      Introduce ScrollableList2 · 99bca282
      Adam Barth authored
      ScrollableList2 uses the same pattern as ScrollableGrid, which requires the
      client to allocate widgets for every list item but doesn't inflate them unless
      they're actually needed for the view. It improves on the original
      ScrollableList by not requiring a rebuild of the whole visible portion of the
      list when scrolling. In fact, small scrolls can often be handled entirely by
      repainting.
      99bca282
  8. 04 Jan, 2016 3 commits
  9. 02 Jan, 2016 4 commits
    • Adam Barth's avatar
      Generalize grid layout · 46a178dc
      Adam Barth authored
      This patch make grid layout much more flexible. The behavior is factored
      out into a GridDelegate that's modeled after the custom layout
      delegates. The patch includes a MaxTileWidthGridDelegate that implements
      the old behavior and a FixedColumnCountGridDelegate that implements a
      grid layout with a fixed number of columns.
      
      Fixes #1048
      46a178dc
    • Adam Barth's avatar
      RenderBox should use Offset for child offset · e9ac6d30
      Adam Barth authored
      Previously we used Position, which makes it harder to accumulate offsets
      when walking the render tree.
      e9ac6d30
    • Adam Barth's avatar
      ScrollbarPainter exception when scrolling MaterialList · 94843700
      Adam Barth authored
      When assigning a new overlayPainter, we were detaching the old overlay
      painter even if the render object itself wasn't attached. Now we only
      twiddle the attach/detach state of the overlay painter when we're
      attached ourselves.
      
      Fixes #1047
      94843700
    • Adam Barth's avatar
      Ink well in ListItem doesn't fill MaterialList · ab614847
      Adam Barth authored
      We need to put the padding on the inside of the list item.
      
      Fixes #1055
      ab614847