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

Unified Diff: sky/sdk/lib/framework/components2/tool_bar.dart

Issue 1168203004: Add material shadows to toolbar and drawer (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 | « sky/sdk/lib/framework/components2/fixed_height_scrollable.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/components2/tool_bar.dart
diff --git a/sky/sdk/lib/framework/components2/tool_bar.dart b/sky/sdk/lib/framework/components2/tool_bar.dart
index b3ab89ec652565ec84d956c8500314c6d2cde72e..395d6c5156f844299027a902b46c43cf881c99c0 100644
--- a/sky/sdk/lib/framework/components2/tool_bar.dart
+++ b/sky/sdk/lib/framework/components2/tool_bar.dart
@@ -4,7 +4,7 @@
import '../fn2.dart';
import '../theme/view_configuration.dart';
-// import 'material.dart';
+import '../theme2/shadows.dart';
class ToolBar extends Component {
UINode left;
@@ -40,7 +40,10 @@ class ToolBar extends Component {
),
height: 56.0,
padding: new EdgeDims(kStatusBarHeight.toDouble(), 8.0, 0.0, 8.0),
- decoration: new BoxDecoration(backgroundColor: backgroundColor)
+ decoration: new BoxDecoration(
+ backgroundColor: backgroundColor,
+ boxShadow: Shadow[2]
+ )
);
}
}
« no previous file with comments | « sky/sdk/lib/framework/components2/fixed_height_scrollable.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698