| Index: client/samples/swarm/Views.dart
|
| diff --git a/client/samples/swarm/Views.dart b/client/samples/swarm/Views.dart
|
| index 35018d6e6a15625acd0f460c1a8aacdd965141d5..2efd0737e0cf8121fcfda884c07f70999bafa04c 100644
|
| --- a/client/samples/swarm/Views.dart
|
| +++ b/client/samples/swarm/Views.dart
|
| @@ -274,14 +274,14 @@ class GenericListView<D> extends View {
|
| int width = _layout.getWidth(_viewLength);
|
| int height = _layout.getHeight(_viewLength);
|
| if (width != null) {
|
| - Css.setWidth(style, '${width}px');
|
| + style.width = '${width}px';
|
| }
|
| if (height != null) {
|
| - Css.setHeight(style, '${height}px');
|
| + style.height = '${height}px';
|
| }
|
| // TODO(jacobr): this should be specified by the default CSS for a
|
| // GenericListView.
|
| - Css.setOverflow(style, 'hidden');
|
| + style.overflow = 'hidden';
|
| }
|
|
|
|
|
| @@ -560,7 +560,7 @@ class GenericListView<D> extends View {
|
| } else {
|
| FxUtil.setTranslate(node, _layout.getOffset(index), 0, 0);
|
| }
|
| - Css.setZIndex(node.style, index.toString());
|
| + node.style.zIndex = index.toString();
|
| }
|
|
|
| void _select(int index, bool selected) {
|
|
|