加一行布局实测日志(root/按钮表/日志Label 高度),用于定位'底部空一条'的原因
This commit is contained in:
1 parent
120d88bf0b
commit
efeee1fe5a
1 file changed
+4
@@ -237,6 +237,10 @@ public final class ObjectPanel {
|
|||||||
float logH = 400f;
|
float logH = 400f;
|
||||||
call(logCell, "I", new Class<?>[] {float.class}, cellClass, Float.valueOf(logH));
|
call(logCell, "I", new Class<?>[] {float.class}, cellClass, Float.valueOf(logH));
|
||||||
call(state.root, "b_", new Class<?>[0], void.class);
|
call(state.root, "b_", new Class<?>[0], void.class);
|
||||||
|
Thread.sleep(800);
|
||||||
|
System.err.println("[panel] 实测高度: root=" + floatOf(state.root, "init")
|
||||||
|
+ " buttonsTable=" + floatOf(state.buttons, "init")
|
||||||
|
+ " logLabel=" + floatOf(state.status, "init"));
|
||||||
System.err.println("[panel] 面板高度(自动): stage=" + stageH + " -> " + panelH
|
System.err.println("[panel] 面板高度(自动): stage=" + stageH + " -> " + panelH
|
||||||
+ ";三段 = " + buttonsH + " / " + middleH + " / " + logH);
|
+ ";三段 = " + buttonsH + " / " + middleH + " / " + logH);
|
||||||
} catch (Throwable error) {
|
} catch (Throwable error) {
|
||||||
|
|||||||
Reference in new issue
Block a user