Skip to content

Commit

Permalink
Merge pull request #14 from collinjackson/center_hello_world
Browse files Browse the repository at this point in the history
Center the hello world text so it isn’t covered up by the status bar

R=hixie
  • Loading branch information
collinjackson committed Jul 16, 2015
2 parents 3b62300 + b35fb49 commit 33a1391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sky/sdk/example/hello_world/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import 'package:sky/widgets/basic.dart';

class HelloWorldApp extends App {
Widget build() {
return new Text('Hello, world!');
return new Center(child: new Text('Hello, world!'));
}
}

Expand Down

0 comments on commit 33a1391

Please sign in to comment.