Changed widths and alignments of order columns

FEA: ItEr63S03BugFixing
This commit is contained in:
Lorenzo Tilve 2010-11-09 18:21:56 +01:00
parent d5d0211571
commit 369bbc0c55
3 changed files with 14 additions and 12 deletions

View file

@ -1021,7 +1021,6 @@ public class OrderCRUDController extends GenericForwardComposer {
appendDate(row, order.getInitDate());
appendDate(row, order.getDeadline());
appendCustomer(row, order.getCustomer());
appendLabel(row, order.getCustomerReference());
appendObject(row, order.getTotalBudget());
appendObject(row, order.getTotalHours());
appendObject(row, _(order.getState().toString()));

View file

@ -1380,7 +1380,11 @@ tr.z-tree-row-seld .z-row-cnt {
}
.projects-list .date {
width:120px;
width:100px;
}
.projects-list .customer {
max-width:150px;
}
.z-band-popup td.z-list-cell {

View file

@ -23,17 +23,16 @@
pageSize="10" fixedLayout="true"
rowRenderer= "@{controller.ordersRowRender}"
onInitRender ="controller.sortOrders();" sclass="clickable-rows projects-list">
<columns>
<column label="${i18n:_('Name')}" align="center" sort="auto(lower(name))" sclass="name"/>
<column label="${i18n:_('Code')}" align="center" sort="auto(lower(code))"/>
<columns sizable="true">
<column label="${i18n:_('Name')}" sort="auto(lower(name))" sclass="name"/>
<column label="${i18n:_('Code')}" sort="auto(lower(code))" align="center" width="130px"/>
<column id="columnDateStart" label="${i18n:_('Starting date')}" align="center" sort="auto(initDate,deadline)" sortDirection="ascending" sclass="date"/>
<column label="${i18n:_('Deadline')}" align="center" sort="auto(deadline,initDate)" sclass="date"/>
<column label="${i18n:_('Customer')}" align="center" sort="auto(lower(customer))" sclass="customer" />
<column label="${i18n:_('Customer reference')}" align="center"/>
<column label="${i18n:_('Total Budget')}" align="center"/>
<column label="${i18n:_('Total Hours')}" align="center" sclass="hours" />
<column label="${i18n:_('State')}" align="center"/>
<column label="${i18n:_('Operations')}" align="center"/>
<column label="${i18n:_('Deadline')}" sort="auto(deadline,initDate)" align="center" sclass="date"/>
<column label="${i18n:_('Customer')}" sort="auto(customerReference)" width="150px"/>
<column label="${i18n:_('Total Budget')}" sort="auto(totalBudget)" align="right" width="100px"/>
<column label="${i18n:_('Hours')}" sort="auto(totalHours)" align="right" width="80px"/>
<column label="${i18n:_('State')}" sort="auto(totalBudget)" align="center" width="90px"/>
<column label="${i18n:_('Operations')}" width="100px"/>
</columns>
</grid>