修 run.sh(漏 import os,导致编辑器根本起不来)+ 三段高度 20/60/20 自动按 Stage 高度算(实测 Stage.B()F=getHeight:4K 窗口 2044)
This commit is contained in:
1 parent
84a8f30811
commit
05c5d45cca
4 files changed
+36
-13
No files matched your search
@@ -98,3 +98,8 @@ dl L (Ldv;)V setTouchable
|
||||
# Cell.I(900) -> root 高度 580 -> 1080(其它候选 L/B/Z/V/C/S/F 都没这个效果)
|
||||
# => Cell.I(float) 就是 height(float);现象佐证:设了它之后列表区出现滚动条、可滚。
|
||||
dR I (F)LdR; height
|
||||
# ---- Stage 宽高(2026-10-16 实测)----
|
||||
# 依据:编辑器窗口 4K 下读 Stage 的无参 float 只有两个:B=2044、D=3726(高<宽),
|
||||
# 故 B()F = getHeight、D()F = getWidth。
|
||||
dt B ()F getHeight
|
||||
dt D ()F getWidth
|
||||
|
Can't render this file because it contains an unexpected character in line 72 and column 99.
|
@@ -167,6 +167,8 @@ do L (Ldl;)Z removeActor
|
||||
do L (Z)V setTransform
|
||||
do LineNumberTable ()Z isTransform
|
||||
do init ()Z hasChildren
|
||||
dt B ()F getHeight
|
||||
dt D ()F getWidth
|
||||
eM C ()V expandTo
|
||||
eM D ()F getHeight
|
||||
eM D ()Z hasChildren
|
||||
|
||||
|
Reference in new issue
Block a user