From 9324b1b193bd0053248185f99722e3e7ed1bf491 Mon Sep 17 00:00:00 2001 From: Hans Muller Date: Mon, 15 Jun 2015 12:09:37 -0700 Subject: [PATCH] StockRow height, background color updates Make stock2 exactly match the original stock demo. R=ianh@google.com Review URL: https://codereview.chromium.org/1187563006. --- examples/stocks2/lib/stock_row.dart | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/stocks2/lib/stock_row.dart b/examples/stocks2/lib/stock_row.dart index 7c063582fb..e9591622c0 100644 --- a/examples/stocks2/lib/stock_row.dart +++ b/examples/stocks2/lib/stock_row.dart @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; - import 'package:sky/rendering/box.dart'; import 'package:sky/theme2/typography.dart' as typography; import 'package:sky/widgets/ink_well.dart'; @@ -19,7 +17,7 @@ class StockRow extends Component { final Stock stock; - static const double kHeight = 70.0; + static const double kHeight = 79.0; UINode build() { String lastSale = "\$${stock.lastSale.toStringAsFixed(2)}"; @@ -48,7 +46,7 @@ class StockRow extends Component { height: kHeight, decoration: const BoxDecoration( border: const Border( - bottom: const BorderSide(color: const sky.Color(0xFFF4F4F4)))), + bottom: const BorderSide(color: const Color(0xFFF4F4F4)))), child: new Flex(children) ) );