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

Unified Diff: sky/examples/widgets/styled_text.dart

Issue 1209233002: Let's hide double.INFINITY a bit more, by providing cleaner APIs for the cases where we're currentl… (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/engine/core/painting/Size.dart ('k') | sky/home.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/widgets/styled_text.dart
diff --git a/sky/examples/widgets/styled_text.dart b/sky/examples/widgets/styled_text.dart
index 2f5e6f3a0c9c11de0579fd3fb4fef2d55f60476c..3c9b15ab8ae7df33800bbcdcead843f6282ad977 100644
--- a/sky/examples/widgets/styled_text.dart
+++ b/sky/examples/widgets/styled_text.dart
@@ -63,7 +63,7 @@ HAL: This mission is too important for me to allow you to jeopardize it.''';
Component createSeparator() {
return new Container(
- constraints: const BoxConstraints(minWidth: double.INFINITY, maxHeight: 0.0),
+ constraints: const BoxConstraints.expandWidth(maxHeight: 0.0),
margin: const EdgeDims.symmetric(vertical: 10.0, horizontal: 64.0),
decoration: const BoxDecoration(
border: const Border(
« no previous file with comments | « sky/engine/core/painting/Size.dart ('k') | sky/home.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698