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

Unified Diff: sky/sdk/home.dart

Issue 1209413006: Fix padding on Sky home screen scrollable list (Closed) Base URL: git@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 | « no previous file | sky/sdk/lib/widgets/card.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/home.dart
diff --git a/sky/sdk/home.dart b/sky/sdk/home.dart
index aad73300d9b15f4349bf0f44ac0570514befaca1..5cce0dfb23ad0dda6c8d781319eee14631dff8f6 100644
--- a/sky/sdk/home.dart
+++ b/sky/sdk/home.dart
@@ -106,9 +106,10 @@ List<Widget> demos = [
];
const double kCardHeight = 120.0;
+const EdgeDims kListPadding = const EdgeDims.all(4.0);
class DemoList extends FixedHeightScrollable {
- DemoList({ String key }) : super(key: key, itemHeight: kCardHeight) {
+ DemoList({ String key }) : super(key: key, itemHeight: kCardHeight, padding: kListPadding) {
itemCount = demos.length;
}
« no previous file with comments | « no previous file | sky/sdk/lib/widgets/card.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698