Showing
4 changed files
with
3 additions
and
3 deletions
| @@ -43,7 +43,7 @@ class WatchFacePreview extends StatelessWidget { | @@ -43,7 +43,7 @@ class WatchFacePreview extends StatelessWidget { | ||
| 43 | 43 | ||
| 44 | Size get _previewSize { | 44 | Size get _previewSize { |
| 45 | if (type == WatchFacePreviewType.singleMedium) { | 45 | if (type == WatchFacePreviewType.singleMedium) { |
| 46 | - return Size(134, 160); | 46 | + return Size(139, 160); |
| 47 | } | 47 | } |
| 48 | return Size(120, 136); | 48 | return Size(120, 136); |
| 49 | } | 49 | } |
| @@ -74,9 +74,9 @@ class WatchFacePreview extends StatelessWidget { | @@ -74,9 +74,9 @@ class WatchFacePreview extends StatelessWidget { | ||
| 74 | children: [ | 74 | children: [ |
| 75 | Image( | 75 | Image( |
| 76 | image: AssetImage(_backgroundAsset(context)), | 76 | image: AssetImage(_backgroundAsset(context)), |
| 77 | - width: size.width, | 77 | + // width: size.width, |
| 78 | height: size.height, | 78 | height: size.height, |
| 79 | - fit: BoxFit.fitWidth, | 79 | + fit: BoxFit.fitHeight, |
| 80 | ), | 80 | ), |
| 81 | _buildThemeImages(), | 81 | _buildThemeImages(), |
| 82 | ], | 82 | ], |
-
Please register or login to post a comment