Fixed width issue in Workreport models edition
FEA: ItEr75S04BugFixing
This commit is contained in:
parent
aeb9ded852
commit
564d38df39
2 changed files with 3 additions and 1 deletions
|
|
@ -246,6 +246,7 @@ public class WorkReportTypeCRUDController extends BaseCRUDController<WorkReportT
|
|||
|
||||
private void appendTextboBoxNameDescriptionField(final Row row) {
|
||||
Textbox boxName = new Textbox();
|
||||
boxName.setHflex("1");
|
||||
boxName.setParent(row);
|
||||
boxName
|
||||
.setConstraint(validateIfExistTheSameFieldName((DescriptionField) row
|
||||
|
|
@ -267,6 +268,7 @@ public class WorkReportTypeCRUDController extends BaseCRUDController<WorkReportT
|
|||
|
||||
private void appendIntBoxLengthDescriptionField(final Row row) {
|
||||
Intbox boxLength = new Intbox();
|
||||
boxLength.setHflex("1");
|
||||
boxLength.setReadonly(isReadOnly());
|
||||
boxLength.setParent(row);
|
||||
boxLength.setConstraint("no negative, no zero");
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@
|
|||
<newdatasortablegrid id="listDescriptionFields" mold="paging" pageSize="4" fixedLayout="true"
|
||||
model="@{controller.descriptionFields}" rowRenderer= "@{controller.descriptionFieldsRowRender}">
|
||||
<columns>
|
||||
<newdatasortablecolumn label="${i18n:_('Name')}" width="300px" sort="auto(lower(fieldName))" sortDirection="ascending"/>
|
||||
<newdatasortablecolumn label="${i18n:_('Name')}" sort="auto(lower(fieldName))" sortDirection="ascending"/>
|
||||
<newdatasortablecolumn label="${i18n:_('Length')}" width="200px" align="center"/>
|
||||
<newdatasortablecolumn label="${ i18n:_('Position')}" width="200px" align="center"/>
|
||||
<newdatasortablecolumn visible = "@{controller.editable}" label="${i18n:_('Operations')}" width="150px" align="center"/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue