Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1105)

Unified Diff: sky/examples/stocks2/lib/stock_row.dart

Issue 1178723010: Make the popup menu work again. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/examples/stocks2/lib/stock_home.dart ('k') | sky/examples/stocks2/lib/stock_settings.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/stocks2/lib/stock_row.dart
diff --git a/sky/examples/stocks2/lib/stock_row.dart b/sky/examples/stocks2/lib/stock_row.dart
index 7e3ee7d163b35aac6fddba250005de057466661e..bd48c5f72b37b1db1f55ce887120af879296ec94 100644
--- a/sky/examples/stocks2/lib/stock_row.dart
+++ b/sky/examples/stocks2/lib/stock_row.dart
@@ -27,16 +27,25 @@ class StockRow extends Component {
List<Widget> children = [
new Container(
- child: new StockArrow(percentChange: stock.percentChange),
- margin: const EdgeDims.only(right: 5.0)),
- new Flexible(child: new Text(stock.symbol), flex: 2, key: "symbol"),
- // TODO(hansmuller): text-align: right
- new Flexible(child: new Text(lastSale,
- style: const TextStyle(textAlign: TextAlign.right)),
- key: "lastSale"),
- new Flexible(child: new Text(changeInPrice,
- style: typography.black.caption.copyWith(textAlign: TextAlign.right)),
- key: "changeInPrice")
+ child: new StockArrow(percentChange: stock.percentChange),
+ margin: const EdgeDims.only(right: 5.0)
+ ),
+ new Flexible(
+ child: new Text(stock.symbol),
+ flex: 2
+ ),
+ new Flexible(
+ child: new Text(
+ lastSale,
+ style: const TextStyle(textAlign: TextAlign.right)
+ )
+ ),
+ new Flexible(
+ child: new Text(
+ changeInPrice,
+ style: typography.black.caption.copyWith(textAlign: TextAlign.right)
+ )
+ )
];
// TODO(hansmuller): An explicit |height| shouldn't be needed
« no previous file with comments | « sky/examples/stocks2/lib/stock_home.dart ('k') | sky/examples/stocks2/lib/stock_settings.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698