[DE] Fix form settings

This commit is contained in:
Julia Radzhabova 2022-08-30 21:54:42 +03:00
parent 562cea6df6
commit 4395af1008
3 changed files with 20 additions and 16 deletions

View file

@ -40,11 +40,6 @@
<div id="form-txt-help"></div>
</td>
</tr>
<tr class="form-textfield">
<td class="padding-small">
<div class="separator horizontal"></div>
</td>
</tr>
<tr class="form-textfield">
<td class="padding-small">
<label class="input-label"><%= scope.textFormat %></label>
@ -67,6 +62,8 @@
<div class="separator horizontal"></div>
</td>
</tr>
</table>
<table cols="2">
<tr class="form-list">
<td colspan="2" class="padding-small">
<label class="input-label"><%= scope.textValue %></label>
@ -74,7 +71,7 @@
</tr>
<tr class="form-list" style="vertical-align: top;">
<td class="padding-small">
<div id="form-txt-new-value" style="margin-right: 5px;"></div>
<div id="form-txt-new-value" style="width:164px; margin-right: 5px;"></div>
</td>
<td class="padding-small">
<div id="form-list-add" style="margin-left: 5px;"></div>
@ -82,7 +79,7 @@
</tr>
<tr class="form-list" style="vertical-align: top;">
<td class="padding-large">
<div id="form-list-list" style="width:162px; height: 95px;margin-right: 5px;"></div>
<div id="form-list-list" style="width:164px; height: 95px;margin-right: 5px;"></div>
</td>
<td class="padding-large">
<div id="form-list-delete" style="margin-bottom: 5px;margin-left: 5px;"></div>
@ -90,6 +87,8 @@
<div id="form-list-down" style="margin-left: 5px;"></div>
</td>
</tr>
</table>
<table cols="1">
<tr class="form-not-image">
<td class="padding-small">
<div id="form-chb-fixed"></div>
@ -124,16 +123,16 @@
</table>
<table cols="2">
<tr class="form-textfield">
<td colspan=2>
<td colspan=2 style="padding-left: 22px;">
<label class="input-label"><%= scope.textWidth %></label>
</td>
</tr>
<tr class="form-textfield">
<td class="padding-small" width="50%">
<div id="form-combo-width-rule" style="width: 85px;"></div>
<td class="padding-small" style="padding-left: 22px;">
<div id="form-combo-width-rule" style="width: 82px;"></div>
</td>
<td class="padding-small" width="50%">
<div id="form-spin-width"></div>
<td class="padding-small">
<div id="form-spin-width" style="float:right;"></div>
</td>
</tr>
<tr class="form-textfield">
@ -184,7 +183,7 @@
</td>
</tr>
<tr>
<td class="padding-large">
<td class="padding-small">
<label class="input-label" style="margin-top: 4px;"><%= scope.textBackgroundColor %></label>
<div id="form-background-color-btn" style="display: inline-block; float: right;"></div>
</td>

View file

@ -224,7 +224,7 @@ define([
this.cmbWidthRule = new Common.UI.ComboBox({
el: $markup.findById('#form-combo-width-rule'),
cls: 'input-group-nr',
menuStyle: 'min-width: 85px;',
menuStyle: 'min-width: 82px;',
editable: false,
data: this._arrWidthRule,
dataHint: '1',
@ -237,7 +237,7 @@ define([
this.spnWidth = new Common.UI.MetricSpinner({
el: $markup.findById('#form-spin-width'),
step: .1,
width: 85,
width: 82,
defaultUnit : "cm",
value: '',
allowAuto: false,
@ -1317,6 +1317,9 @@ define([
} else
this._originalTextFormProps = null;
if (props.get_ComplexFormPr()) {
this.labelFormName.text(this.textComplex);
}
this._noApply = false;
this.KeySettingsTd.toggleClass('padding-small', !connected);
@ -1565,7 +1568,8 @@ define([
textFormatSymbols: 'Allowed Symbols',
textLetters: 'Letters',
textDigits: 'Digits',
textNone: 'None'
textNone: 'None',
textComplex: 'Complex Field'
}, DE.Views.FormSettings || {}));
});

View file

@ -1888,6 +1888,7 @@
"DE.Views.FormSettings.textLetters": "Letters",
"DE.Views.FormSettings.textDigits": "Digits",
"DE.Views.FormSettings.textNone": "None",
"DE.Views.FormSettings.textComplex": "Complex Field",
"DE.Views.FormsTab.capBtnCheckBox": "Checkbox",
"DE.Views.FormsTab.capBtnComboBox": "Combo Box",
"DE.Views.FormsTab.capBtnDownloadForm": "Download as oform",