mirror of
https://github.com/openharmony/applications_theme.git
synced 2026-07-01 10:05:33 -04:00
!7 update wallpaper index layout
Merge pull request !7 from yangpeng85/master
This commit is contained in:
@@ -22,9 +22,6 @@ struct Index {
|
||||
|
||||
build() {
|
||||
Flex({direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center}) {
|
||||
Text("Hello Wallpaper")
|
||||
.fontSize("40vp")
|
||||
.fontColor(Color.Green)
|
||||
Image(this.pixelData);
|
||||
}
|
||||
.width('100%')
|
||||
|
||||
@@ -22,9 +22,6 @@ struct Index {
|
||||
|
||||
build() {
|
||||
Flex({direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center}) {
|
||||
Text("Hello Wallpaper")
|
||||
.fontSize("40vp")
|
||||
.fontColor(Color.Green)
|
||||
Image(this.pixelData);
|
||||
}
|
||||
.width('100%')
|
||||
|
||||
Reference in New Issue
Block a user