Upraveny vlastnosti dialogů pro výběr skupin materiálu a služeb.

Okno má velikost vždy 95 % velikosti.

closes #156
Verze_1.0
František Přibyl 10 years ago
parent 882993ef17
commit b932d390ca

@ -2,10 +2,11 @@
<zk> <zk>
<window <window
id="selectItemsWnd" id="selectItemsWnd"
width="95%"
height="95%"
closable="true" closable="true"
border="normal" border="normal"
position="center" position="center"
vflex="1"
apply="org.zkoss.bind.BindComposer" apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('info.bukova.isspst.ui.main.orders.material.SelectMaterialItems')"> viewModel="@id('vm') @init('info.bukova.isspst.ui.main.orders.material.SelectMaterialItems')">
<caption <caption
@ -118,9 +119,7 @@
</listbox> </listbox>
</vlayout> </vlayout>
<vlayout> <vlayout>
<div <div align="right">
hflex="max"
align="right">
<button <button
image="~./zul/img/misc/drag-disallow.png" image="~./zul/img/misc/drag-disallow.png"
label="${labels.ButtonStorno}" label="${labels.ButtonStorno}"

@ -2,6 +2,8 @@
<zk> <zk>
<window <window
id="selectItemsWnd" id="selectItemsWnd"
width="95%"
height="95%"
closable="true" closable="true"
border="normal" border="normal"
position="center" position="center"
@ -11,7 +13,7 @@
src="/img/painting-032.png" src="/img/painting-032.png"
zclass="form-caption" zclass="form-caption"
label="${labels.AgendaServices}" /> label="${labels.AgendaServices}" />
<vlayout> <vlayout vflex="1">
<toolbar> <toolbar>
<toolbarbutton <toolbarbutton
image="/img/funnel.png" image="/img/funnel.png"
@ -20,6 +22,7 @@
onClick="@command('onFilterService')" /> onClick="@command('onFilterService')" />
</toolbar> </toolbar>
<listbox <listbox
vflex="1"
model="@load(vm.serviceItemList)" model="@load(vm.serviceItemList)"
selectedItem="@bind(vm.selectedItem)"> selectedItem="@bind(vm.selectedItem)">
<listhead menupopup="auto"> <listhead menupopup="auto">
@ -92,9 +95,7 @@
</listbox> </listbox>
</vlayout> </vlayout>
<vlayout> <vlayout>
<div <div align="right">
hflex="max"
align="right">
<button <button
image="~./zul/img/misc/drag-disallow.png" image="~./zul/img/misc/drag-disallow.png"
label="${labels.ButtonStorno}" label="${labels.ButtonStorno}"

Loading…
Cancel
Save