我有一个新的GuiBuilder表格,分层布局和可滚动的Y,问题来自我设置为横向模式然后我的第四个按钮突然消失在底部,似乎自动调整是切断我的第四个按钮甚至向下滚动我无法找到它,我将该按钮设置为Scroll visible。为什么它一直在消失?怎么解决?在肖像模式下它可以。但
编辑:
我的.gui XML请求:
<?xml version="1.0" encoding="UTF-8"?>
<component type="Form" layout="LayeredLayout" layeredLayoutPreferredWidthMM="0.0" layeredLayoutPreferredHeightMM="0.0" autolayout="true" title="MainMenu" scrollableX="false" scrollableY="true" name="MainMenu">
<component type="Button" text="First Button" name="Button1">
<layoutConstraint insets="auto 5.0mm auto 5.0mm" referenceComponents="-1 -1 -1 -1" referencePositions="0.0 0.0 0.0 0.0" />
</component>
<component type="Button" text="Second Button" name="Button2">
<layoutConstraint insets="0.0mm -0.026454926mm auto 0.0mm" referenceComponents="0 0 -1 0 " referencePositions="1.0 0.0 0.0 0.0" />
</component>
<component type="Button" text="Exit" name="Button4">
<layoutConstraint insets="0.0mm -0.026454926mm auto 0.0mm" referenceComponents="4 4 -1 4 " referencePositions="1.0 0.0 0.0 0.0" />
</component>
<component type="Label" icon="resFile:mylogo.png" name="Logo">
<layoutConstraint insets="auto auto 0.0mm auto" referenceComponents="-1 0 0 0 " referencePositions="0.0 0.0 1.0 0.0" />
</component>
<component type="Button" text="Change Theme" name="Button3">
<layoutConstraint insets="0.0mm -0.026455045mm auto 0.0mm" referenceComponents="1 1 -1 1 " referencePositions="1.0 0.0 0.0 0.0" />
</component>
</component>
这是导致问题的按钮:<component type="Button" text="Exit" name="Button4">