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

Unified Diff: sky/sdk/lib/widgets/dialog.dart

Issue 1223153004: Make the drawer, popup menus, dialogs, and settings page scrollable. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 5 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/sdk/lib/widgets/dialog.dart
diff --git a/sky/sdk/lib/widgets/dialog.dart b/sky/sdk/lib/widgets/dialog.dart
index 20e8650cbf3467dea34145d5d483af8f95a7409e..255eb39c3d58cb6cf3453310c27974d4067ad552 100644
--- a/sky/sdk/lib/widgets/dialog.dart
+++ b/sky/sdk/lib/widgets/dialog.dart
@@ -6,7 +6,8 @@ import '../theme/colors.dart' as colors;
import 'basic.dart';
import 'default_text_style.dart';
import 'material.dart';
-import "theme.dart";
+import 'scrollable_viewport.dart';
+import 'theme.dart';
/// A material design dialog
///
@@ -88,7 +89,9 @@ class Dialog extends Component {
level: 4,
color: _color,
child: new ShrinkWrapWidth(
- child: new Block(children)
+ child: new ScrollableViewport(
+ child: new Block(children)
+ )
)
)
)

Powered by Google App Engine
This is Rietveld 408576698