ItEr27S11AltaEtiquetasTipoEtiquetaItEr26S13: Fix some layout and change edit & delete buttons to image buttons
This commit is contained in:
parent
6f61eee422
commit
c115a01ed2
2 changed files with 20 additions and 15 deletions
|
|
@ -56,17 +56,17 @@
|
|||
</grid>
|
||||
</panelchildren>
|
||||
</panel>
|
||||
|
||||
<!-- Control buttons -->
|
||||
<hbox>
|
||||
<button label="${i18n:_('Save')}"
|
||||
onClick="controller.save()" />
|
||||
<button label="${i18n:_('Save & Continue')}"
|
||||
onClick="controller.saveAndContinue()" />
|
||||
<button label="${i18n:_('Close')}"
|
||||
onClick="controller.close()" />
|
||||
</hbox>
|
||||
</tabpanel>
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
|
||||
<!-- Control buttons -->
|
||||
<hbox>
|
||||
<button label="${i18n:_('Save')}"
|
||||
onClick="controller.save()" />
|
||||
<button label="${i18n:_('Save & Continue')}"
|
||||
onClick="controller.saveAndContinue()" />
|
||||
<button label="${i18n:_('Close')}"
|
||||
onClick="controller.close()" />
|
||||
</hbox>
|
||||
</window>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<window id="${arg.id}" title="${i18n:_('List label types')}">
|
||||
<grid id="labelTypes" model="@{controller.labelTypes}"
|
||||
mold="paging" pageSize="10">
|
||||
mold="paging" pageSize="10" fixedLayout="true">
|
||||
<columns>
|
||||
<column label="${i18n:_('Name')}" sort="auto(name)" sortDirection="ascending" />
|
||||
<column label="${i18n:_('Operations')}" />
|
||||
|
|
@ -9,10 +9,15 @@
|
|||
<row self="@{each='labelType'}" value="@{labelType}">
|
||||
<label value="@{labelType.name}" />
|
||||
<hbox>
|
||||
<button label="${i18n:_('Edit')}"
|
||||
onClick="controller.goToEditForm(self.parent.parent.value)"/>
|
||||
<button label="${i18n:_('Delete')}"
|
||||
onClick="controller.confirmDelete(self.parent.parent.value)"/>
|
||||
<button sclass="icono" image="/common/img/ico_editar1.png"
|
||||
hoverImage="/common/img/ico_editar.png"
|
||||
tooltiptext="${i18n:_('Edit')}"
|
||||
onClick="controller.goToEditForm(self.parent.parent.value);"/>
|
||||
|
||||
<button sclass="icono" image="/common/img/ico_borrar1.png"
|
||||
hoverImage="/common/img/ico_borrar.png"
|
||||
tooltiptext="${i18n:_('Delete')}"
|
||||
onClick="controller.confirmDelete(self.parent.parent.value);"/>
|
||||
</hbox>
|
||||
</row>
|
||||
</rows>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue