| Index: sky/sdk/lib/framework/components2/icon_button.dart
|
| diff --git a/sky/sdk/lib/framework/components2/icon_button.dart b/sky/sdk/lib/framework/components2/icon_button.dart
|
| index 765f75bf80cf06fe01573ba91ed4580f260bf24e..9fc79dee59728907e7c1a0627d1d9e335e7a8d94 100644
|
| --- a/sky/sdk/lib/framework/components2/icon_button.dart
|
| +++ b/sky/sdk/lib/framework/components2/icon_button.dart
|
| @@ -7,9 +7,6 @@ import '../rendering/box.dart';
|
| import 'icon.dart';
|
|
|
| class IconButton extends Component {
|
| - static Style _style = new Style('''
|
| - padding: 8px;''');
|
| -
|
| String icon;
|
| GestureEventListener onGestureTap;
|
|
|
| @@ -18,7 +15,9 @@ class IconButton extends Component {
|
|
|
| UINode build() {
|
| return new EventListenerNode(
|
| - new StyleNode(new Icon(type: icon, size: 24), _style),
|
| + new Padding(
|
| + child: new Icon(type: icon, size: 24),
|
| + padding: const EdgeDims.all(8.0)),
|
| onGestureTap: onGestureTap);
|
| }
|
| }
|
|
|