From f35ec028518c9b9ab7832acf6b5f2cea6b57dee0 Mon Sep 17 00:00:00 2001 From: Linkxu Date: Sat, 18 Oct 2025 11:07:21 +0800 Subject: [PATCH] Modify NativeNodeBaseSample ets Signed-off-by: Linkxu --- .../entry/src/main/ets/pages/page_form.ets | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/ArkUIKit/NativeNodeBaseSample/entry/src/main/ets/pages/page_form.ets b/ArkUIKit/NativeNodeBaseSample/entry/src/main/ets/pages/page_form.ets index a7d33a6a3d..c30fa8107e 100644 --- a/ArkUIKit/NativeNodeBaseSample/entry/src/main/ets/pages/page_form.ets +++ b/ArkUIKit/NativeNodeBaseSample/entry/src/main/ets/pages/page_form.ets @@ -310,19 +310,23 @@ struct Index { build() { Column() { - Row() { - Button($r('app.string.return_node')) - .height(25) - .width('10%') - .onClick(() => { - this.getUIContext().getRouter().back(); - }) + Button($r('app.string.return_node')) + .height('5%') + .width('15%') + .fontSize(15) + .fontColor(Color.Black) + .position({ x: '2%', y: '4%' }) + .backgroundColor(Color.White) + .borderColor(Color.Black) + .borderWidth(3) + .onClick(() => { + this.getUIContext().getRouter().back(); + }) Text($r('app.string.native_node_example')) - .fontSize(24) + .fontSize(20) .margin(10) .fontWeight(FontWeight.Bold) .height('10%') - } Row() { Button($r('app.string.select_node_type')) .width('30%') -- Gitee