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

!8959 翻译完成 8265:ts-basic-components-remotewindow.md

Merge pull request !8959 from ester.zhou/TR-8265
...@@ -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.
先完成此消息的编辑!
想要评论请 注册