Здравствуйте!
Помогите пожалуйста найти правильный атрибут контейнера split.
Горизонтальный split делит экран на две части неравномерно в моем случае - так, что справа остается достаточно большое пространство, которое ничем не заполнено. Такое ощущение, что есть некое ограничение контейнера, которое нельзя исправить. Перебрал все атрибуты, но не нашел как растянуть контейнер.
Сейчас это выглядит так, как в прикрепленном фото. Нужно растянуть контейнер и заполнить поле справа (обведено в желтый круг). Подскажите какие атрибуты лучше использовать? или, возможно есть какое то другое решение.
Код вот:
?xml version=“1.0” encoding=“UTF-8” standalone=“no”?>
</form>
</vbox>
<vbox height="100%">
<groupBox id="boysBox" align="TOP_RIGHT" caption="msg://com.company.test_130.entity/Kindergarden.boys">
<table id="boysTable" align="TOP_RIGHT" dataContainer="boysDc" width="100%" height="200px">
<actions>
<action id="create" type="create"/>
<action id="edit" type="edit"/>
<action id="remove" type="remove"/>
</actions>
<columns>
<column id="boy_1"/>
<column id="boy_2"/>
<column id="version"/>
</columns>
<buttonsPanel>
<button action="boysTable.create"/>
<button action="boysTable.edit"/>
<button action="boysTable.remove"/>
</buttonsPanel>
</table>
</groupBox>
<groupBox id="girlsBox" align="TOP_RIGHT" caption="msg://com.company.test_130.entity/Kindergarden.girls">
<table id="girlsTable" dataContainer="girlsDc" width="100%" height="200px">
<actions>
<action id="create" type="create"/>
<action id="edit" type="edit"/>
<action id="remove" type="remove"/>
</actions>
<columns>
<column id="girl_1"/>
<column id="girl_2"/>
<column id="version"/>
</columns>
<buttonsPanel>
<button action="girlsTable.create"/>
<button action="girlsTable.edit"/>
<button action="girlsTable.remove"/>
</buttonsPanel>
</table>
</groupBox>
</vbox>
</split>
</layout>
?xml version="1.0" encoding="UTF-8" standalone="no"?>
</form>
</vbox>
<vbox height="100%">
<groupBox id="boysBox" align="TOP_RIGHT" caption="msg://com.company.test_130.entity/Kindergarden.boys">
<table id="boysTable" align="TOP_RIGHT" dataContainer="boysDc" width="100%" height="200px">
<actions>
<action id="create" type="create"/>
<action id="edit" type="edit"/>
<action id="remove" type="remove"/>
</actions>
<columns>
<column id="boy_1"/>
<column id="boy_2"/>
<column id="version"/>
</columns>
<buttonsPanel>
<button action="boysTable.create"/>
<button action="boysTable.edit"/>
<button action="boysTable.remove"/>
</buttonsPanel>
</table>
</groupBox>
<groupBox id="girlsBox" align="TOP_RIGHT" caption="msg://com.company.test_130.entity/Kindergarden.girls">
<table id="girlsTable" dataContainer="girlsDc" width="100%" height="200px">
<actions>
<action id="create" type="create"/>
<action id="edit" type="edit"/>
<action id="remove" type="remove"/>
</actions>
<columns>
<column id="girl_1"/>
<column id="girl_2"/>
<column id="version"/>
</columns>
<buttonsPanel>
<button action="girlsTable.create"/>
<button action="girlsTable.edit"/>
<button action="girlsTable.remove"/>
</buttonsPanel>
</table>
</groupBox>
</vbox>
</split>
</layout>
