fix(ui): 修复卡片放大缩小时布局错位问题
调整卡片预制件中名字节点的位置偏移量,并在CardComp中为所有相关UI节点添加Widget组件的updateAlignment调用,确保尺寸变化后子元素能正确对齐。
This commit is contained in:
@@ -3044,7 +3044,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 70,
|
||||
"y": -66.482,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -3182,7 +3182,7 @@
|
||||
"_target": null,
|
||||
"_left": 0,
|
||||
"_right": 0,
|
||||
"_top": 30,
|
||||
"_top": 166.482,
|
||||
"_bottom": 0,
|
||||
"_horizontalCenter": 0,
|
||||
"_verticalCenter": 0,
|
||||
|
||||
Reference in New Issue
Block a user