未验证 提交 e944ee53 编写于 作者: O openharmony_ci 提交者: Gitee

!8265 【轻量级 PR】:【OpenHarmony开源贡献者计划2022】修改代码格式

Merge pull request !8265 from Joey/N/A
...@@ -64,10 +64,10 @@ struct RemoteWindowExample { ...@@ -64,10 +64,10 @@ struct RemoteWindowExample {
build() { build() {
Column() { Column() {
RemoteWindow(this.target) RemoteWindow(this.target)
.translate({x:100, y:200}) .translate({ x: 100, y: 200 })
.scale({x:0.5, y:0.5}) .scale({ x: 0.5, y: 0.5 })
.opacity(0.8) .opacity(0.8)
.position({x:px2vp(this.target?.windowBounds.left), y:px2vp(this.target?.windowBounds.top)}) .position({ x: px2vp(this.target?.windowBounds.left), y: px2vp(this.target?.windowBounds.top) })
.width(px2vp(this.target?.windowBounds.width)) .width(px2vp(this.target?.windowBounds.width))
.height(px2vp(this.target?.windowBounds.height)) .height(px2vp(this.target?.windowBounds.height))
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册