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

Unified Diff: sky/framework/components/ink_well.dart

Issue 1134163003: [Effen] Use the checkbox widget in the stocks app. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fix tests Created 5 years, 7 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
Index: sky/framework/components/ink_well.dart
diff --git a/sky/framework/components/ink_well.dart b/sky/framework/components/ink_well.dart
index cc7181be3b1dc643d548d756fb3ec35293861719..47d745e029cd0a54c6940fb614d48f6e2a4021ae 100644
--- a/sky/framework/components/ink_well.dart
+++ b/sky/framework/components/ink_well.dart
@@ -3,6 +3,7 @@
// found in the LICENSE file.
import '../fn.dart';
+import '../layout.dart';
import 'dart:collection';
import 'dart:sky' as sky;
import 'ink_splash.dart';
@@ -10,6 +11,7 @@ import 'scrollable.dart';
class InkWell extends Component implements ScrollClient {
static final Style _containmentStyleHack = new Style('''
+ align-items: center;
transform: translateX(0);''');
LinkedHashSet<SplashController> _splashes;
@@ -36,7 +38,8 @@ class InkWell extends Component implements ScrollClient {
childrenIncludingSplashes.addAll(children);
return new EventListenerNode(
- new Container(
+ new FlexContainer(
+ direction: FlexDirection.Row,
style: _containmentStyleHack,
inlineStyle: inlineStyle,
children: childrenIncludingSplashes),

Powered by Google App Engine
This is Rietveld 408576698