Fixed width problems on monthly timesheet on low resolutions
FEA: ItEr76S28UserDashboard
This commit is contained in:
parent
b3d280dc4b
commit
29938c2169
2 changed files with 19 additions and 22 deletions
|
|
@ -72,7 +72,7 @@ import org.zkoss.zul.api.Grid;
|
|||
public class MonthlyTimesheetController extends GenericForwardComposer
|
||||
implements IMonthlyTimesheetController {
|
||||
|
||||
private final static String EFFORT_DURATION_TEXTBOX_WIDTH = "34px";
|
||||
private final static String EFFORT_DURATION_TEXTBOX_WIDTH = "30px";
|
||||
private final static String TOTAL_DURATION_TEXTBOX_WIDTH = "50px";
|
||||
|
||||
private final static String WORK_REPORTS_URL = "/workreports/workReport.zul";
|
||||
|
|
|
|||
|
|
@ -110,27 +110,24 @@
|
|||
</hbox>
|
||||
|
||||
<hbox width="100%">
|
||||
|
||||
<groupbox width="100%" closable="false" hflex="1" style="margin-top:5px">
|
||||
<!-- caption label="${i18n:_('Time tracking')}" hflex="1" width="100%" -->
|
||||
<hbox align="center" hflex="1" width="100%" style="padding-bottom:5px">
|
||||
<bandboxSearch
|
||||
id="orderElementBandboxSearch"
|
||||
finder="OrderElementBandboxFinder"
|
||||
widthBandbox="400px"
|
||||
widthListbox="700px" />
|
||||
<button onClick="controller.addOrderElement();"
|
||||
label="${i18n:_('Add task')}" />
|
||||
</hbox>
|
||||
<hbox width="100%">
|
||||
<grid id="timesheet" width="100%" sizedByContent="true" hflex="1" sclass="timesheet"
|
||||
model="@{controller.rows}"
|
||||
rowRenderer="@{controller.rowRenderer}"/>
|
||||
</hbox>
|
||||
|
||||
</groupbox>
|
||||
|
||||
</hbox>
|
||||
<groupbox width="100%" closable="false" hflex="1" style="margin-top:5px">
|
||||
<caption label="${i18n:_('Time tracking')}" />
|
||||
<hbox align="center" hflex="1" width="100%" style="padding-bottom:5px">
|
||||
<bandboxSearch
|
||||
id="orderElementBandboxSearch"
|
||||
finder="OrderElementBandboxFinder"
|
||||
widthBandbox="400px"
|
||||
widthListbox="700px" />
|
||||
<button onClick="controller.addOrderElement();"
|
||||
label="${i18n:_('Add task')}" />
|
||||
</hbox>
|
||||
<hbox width="100%">
|
||||
<grid id="timesheet" sizedByContent="true" hflex="1" sclass="timesheet"
|
||||
model="@{controller.rows}"
|
||||
rowRenderer="@{controller.rowRenderer}"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
</hbox>
|
||||
|
||||
<button onClick="controller.save();"
|
||||
label="${i18n:_('Save')}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue