I have a StandardEditor screen using a transient entity set up as an editable table in a dialog box. Here is the XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<window xmlns="http://schemas.haulmont.com/cuba/screen/window.xsd"
caption="msg://editorCaption"
focusComponent="tblStates"
messagesPack="com.paslists.rentals.web.screens.states">
<data>
<collection id="statesDc"
class="com.paslists.rentals.entity.States"
view="_local">
<loader/>
</collection>
</data>
<dialogMode height="600px"
width="200px"
modal="true"
resizable="true"
forceDialog="true"/>
<layout expand="vboxStates" spacing="true">
<vbox id="vboxStates" spacing="true" expand="tblStates">
<table id="tblStates" dataContainer="statesDc" editable="true" height="100%">
<buttonsPanel>
<button id="btnCreate" action="tblStates.create"/>
<button id="btnRemove" action="tblStates.remove"/>
</buttonsPanel>
<actions>
<action id="create" type="create"/>
<action id="remove" type="remove"/>
</actions>
<columns>
<column id="state" editable="true"/>
</columns>
</table>
<hbox id="editActions" spacing="true">
<button action="windowCommitAndClose"/>
<button action="windowClose"/>
</hbox>
</vbox>
</layout>
</window>
When I display this screen, the table overlaps the buttons:
What am I doing wrong?