• Hans Muller's avatar
    IndexedStack · 09d26302
    Hans Muller authored
    Added horizontal and vertical alignment properties to Stack so that the origin of non-positioned children can be specified. Currently all of the non-positioned children just end up with their top-left at 0,0. Now, for example, you can center the children by specifying verticalAlignment: 0.5, horizontalAlignment: 0.5.
    
    Added IndexedStack which only paints the stack child specified by the index property. Since it's a Stack, it's as big as the biggest non-positioned child. This component will be essential for building mobile drop down menus.
    
    Added a (likely temporary) example that demonstrates IndexedStack.
    09d26302
Name
Last commit
Last update
..
animation Loading commit data...
engine Loading commit data...
examples Loading commit data...
gestures Loading commit data...
harness Loading commit data...
painting Loading commit data...
rendering Loading commit data...
services Loading commit data...
widget Loading commit data...