Update view
This commit is contained in:
parent
28eb8cac54
commit
8460de31ad
|
@ -441,11 +441,11 @@ define([
|
|||
|
||||
this.cmbZoom = new Common.UI.ComboBox({
|
||||
el : $markup.findById('#fms-cmb-zoom'),
|
||||
style : 'width: 128px;',
|
||||
style : 'width: 160px;',
|
||||
editable : false,
|
||||
menuCls : 'menu-aligned',
|
||||
cls : 'input-group-nr',
|
||||
menuStyle : 'max-height: 157px;',
|
||||
menuStyle : 'min-width:100%; max-height: 157px;',
|
||||
data : [
|
||||
{ value: -1, displayValue: this.txtFitPage },
|
||||
{ value: -2, displayValue: this.txtFitWidth },
|
||||
|
@ -544,9 +544,10 @@ define([
|
|||
].join(''));
|
||||
this.cmbFontRender = new Common.UI.ComboBox({
|
||||
el : $markup.find('#fms-cmb-font-render'),
|
||||
style : 'width: 128px;',
|
||||
style : 'width: 160px;',
|
||||
editable : false,
|
||||
menuCls : 'menu-aligned',
|
||||
menuStyle : 'min-width:100%;',
|
||||
cls : 'input-group-nr',
|
||||
itemsTemplate: itemsTemplate,
|
||||
data : [
|
||||
|
@ -563,8 +564,9 @@ define([
|
|||
|
||||
this.cmbUnit = new Common.UI.ComboBox({
|
||||
el : $markup.findById('#fms-cmb-unit'),
|
||||
style : 'width: 128px;',
|
||||
style : 'width: 160px;',
|
||||
menuCls : 'menu-aligned',
|
||||
menuStyle : 'min-width:100%;',
|
||||
editable : false,
|
||||
cls : 'input-group-nr',
|
||||
data : [
|
||||
|
@ -579,9 +581,10 @@ define([
|
|||
|
||||
this.cmbMacros = new Common.UI.ComboBox({
|
||||
el : $markup.findById('#fms-cmb-macros'),
|
||||
style : 'width: 128px;',
|
||||
style : 'width: 160px;',
|
||||
editable : false,
|
||||
menuCls : 'menu-aligned',
|
||||
menuStyle : 'min-width:100%;',
|
||||
cls : 'input-group-nr',
|
||||
data : [
|
||||
{ value: 2, displayValue: this.txtStopMacros, descValue: this.txtStopMacrosDesc },
|
||||
|
@ -614,7 +617,8 @@ define([
|
|||
|
||||
this.cmbTheme = new Common.UI.ComboBox({
|
||||
el : $markup.findById('#fms-cmb-theme'),
|
||||
style : 'width: 128px;',
|
||||
style : 'width: 160px;',
|
||||
menuStyle : 'min-width:100%;',
|
||||
editable : false,
|
||||
menuCls : 'menu-aligned',
|
||||
cls : 'input-group-nr',
|
||||
|
|
|
@ -319,11 +319,11 @@ define([
|
|||
|
||||
this.cmbZoom = new Common.UI.ComboBox({
|
||||
el : $markup.findById('#fms-cmb-zoom'),
|
||||
style : 'width: 128px;',
|
||||
style : 'width: 160px;',
|
||||
editable : false,
|
||||
menuCls : 'menu-aligned',
|
||||
cls : 'input-group-nr',
|
||||
menuStyle : 'max-height: 157px;',
|
||||
menuStyle : 'min-width:100%; max-height: 157px;',
|
||||
data : [
|
||||
{ value: -1, displayValue: this.txtFitSlide },
|
||||
{ value: -2, displayValue: this.txtFitWidth },
|
||||
|
@ -403,9 +403,10 @@ define([
|
|||
].join(''));
|
||||
this.cmbFontRender = new Common.UI.ComboBox({
|
||||
el : $markup.findById('#fms-cmb-font-render'),
|
||||
style : 'width: 128px;',
|
||||
style : 'width: 160px;',
|
||||
editable : false,
|
||||
menuCls : 'menu-aligned',
|
||||
menuStyle : 'min-width:100%;',
|
||||
cls : 'input-group-nr',
|
||||
itemsTemplate: itemsTemplate,
|
||||
data : [
|
||||
|
@ -422,9 +423,10 @@ define([
|
|||
|
||||
this.cmbUnit = new Common.UI.ComboBox({
|
||||
el : $markup.findById('#fms-cmb-unit'),
|
||||
style : 'width: 128px;',
|
||||
style : 'width: 160px;',
|
||||
editable : false,
|
||||
menuCls : 'menu-aligned',
|
||||
menuStyle : 'min-width:100%;',
|
||||
cls : 'input-group-nr',
|
||||
data : [
|
||||
{ value: Common.Utils.Metric.c_MetricUnits['cm'], displayValue: this.txtCm },
|
||||
|
@ -438,9 +440,10 @@ define([
|
|||
|
||||
this.cmbMacros = new Common.UI.ComboBox({
|
||||
el : $markup.findById('#fms-cmb-macros'),
|
||||
style : 'width: 128px;',
|
||||
style : 'width: 160px;',
|
||||
editable : false,
|
||||
menuCls : 'menu-aligned',
|
||||
menuStyle : 'min-width:100%;',
|
||||
cls : 'input-group-nr',
|
||||
data : [
|
||||
{ value: 2, displayValue: this.txtStopMacros, descValue: this.txtStopMacrosDesc },
|
||||
|
@ -476,9 +479,10 @@ define([
|
|||
|
||||
this.cmbTheme = new Common.UI.ComboBox({
|
||||
el : $markup.findById('#fms-cmb-theme'),
|
||||
style : 'width: 128px;',
|
||||
style : 'width: 160px;',
|
||||
editable : false,
|
||||
menuCls : 'menu-aligned',
|
||||
menuStyle : 'min-width:100%;',
|
||||
cls : 'input-group-nr',
|
||||
dataHint : '2',
|
||||
dataHintDirection: 'bottom',
|
||||
|
|
|
@ -305,7 +305,7 @@ define([
|
|||
'<tr class="edit">',
|
||||
'<td colspan="2"><button type="button" class="btn btn-text-default" id="fms-btn-auto-correct" style="width:auto; display: inline-block;padding-right: 10px;padding-left: 10px;" data-hint="3" data-hint-direction="bottom" data-hint-offset="big"><%= scope.txtAutoCorrect %></button></div></td>',
|
||||
'</tr>',
|
||||
'<tr class ="divider-group"></tr>',
|
||||
'<tr class ="edit divider-group"></tr>',
|
||||
'<tr class="fms-btn-apply">',
|
||||
'<td style="padding-top:15px; padding-bottom: 15px;"><button class="btn normal dlg-btn primary" data-hint="3" data-hint-direction="bottom" data-hint-offset="big"><%= scope.okButtonText %></button></td>',
|
||||
'<td></td>',
|
||||
|
@ -383,11 +383,11 @@ define([
|
|||
|
||||
this.cmbZoom = new Common.UI.ComboBox({
|
||||
el : $markup.findById('#fms-cmb-zoom'),
|
||||
style : 'width: 128px;',
|
||||
style : 'width: 160px;',
|
||||
editable : false,
|
||||
menuCls : 'menu-aligned',
|
||||
cls : 'input-group-nr',
|
||||
menuStyle : 'max-height: 157px;',
|
||||
menuStyle : 'min-width:100%; max-height: 157px;',
|
||||
data : [
|
||||
{ value: 50, displayValue: "50%" },
|
||||
{ value: 60, displayValue: "60%" },
|
||||
|
@ -417,10 +417,11 @@ define([
|
|||
].join(''));
|
||||
this.cmbFontRender = new Common.UI.ComboBox({
|
||||
el : $markup.findById('#fms-cmb-font-render'),
|
||||
style : 'width: 128px;',
|
||||
style : 'width: 160px;',
|
||||
editable : false,
|
||||
menuCls : 'menu-aligned',
|
||||
cls : 'input-group-nr',
|
||||
menuStyle : 'min-width:100%;',
|
||||
itemsTemplate: itemsTemplate,
|
||||
data : [
|
||||
{ value: Asc.c_oAscFontRenderingModeType.hintingAndSubpixeling, displayValue: this.txtWin },
|
||||
|
@ -456,9 +457,10 @@ define([
|
|||
|
||||
this.cmbUnit = new Common.UI.ComboBox({
|
||||
el : $markup.findById('#fms-cmb-unit'),
|
||||
style : 'width: 128px;',
|
||||
style : 'width: 160px;',
|
||||
editable : false,
|
||||
menuCls : 'menu-aligned',
|
||||
menuStyle : 'min-width:100%;',
|
||||
cls : 'input-group-nr',
|
||||
data : [
|
||||
{ value: Common.Utils.Metric.c_MetricUnits['cm'], displayValue: this.txtCm },
|
||||
|
@ -485,7 +487,7 @@ define([
|
|||
this.cmbFuncLocale = new Common.UI.ComboBox({
|
||||
el : $markup.findById('#fms-cmb-func-locale'),
|
||||
style : 'width: 200px;',
|
||||
menuStyle: 'max-height: 185px;',
|
||||
menuStyle : 'min-width:100%; max-height: 185px;',
|
||||
editable : false,
|
||||
menuCls : 'menu-aligned',
|
||||
cls : 'input-group-nr',
|
||||
|
@ -509,7 +511,7 @@ define([
|
|||
this.cmbRegSettings = new Common.UI.ComboBox({
|
||||
el : $markup.findById('#fms-cmb-reg-settings'),
|
||||
style : 'width: 200px;',
|
||||
menuStyle: 'max-height: 185px;',
|
||||
menuStyle : 'min-width:100%; max-height: 185px;',
|
||||
menuCls : 'menu-aligned',
|
||||
editable : false,
|
||||
cls : 'input-group-nr',
|
||||
|
@ -600,9 +602,10 @@ define([
|
|||
|
||||
this.cmbMacros = new Common.UI.ComboBox({
|
||||
el : $markup.findById('#fms-cmb-macros'),
|
||||
style : 'width: 128px;',
|
||||
style : 'width: 160px;',
|
||||
editable : false,
|
||||
menuCls : 'menu-aligned',
|
||||
menuStyle : 'min-width:100%;',
|
||||
cls : 'input-group-nr',
|
||||
data : [
|
||||
{ value: 2, displayValue: this.txtStopMacros, descValue: this.txtStopMacrosDesc },
|
||||
|
@ -631,9 +634,10 @@ define([
|
|||
|
||||
this.cmbTheme = new Common.UI.ComboBox({
|
||||
el : $markup.findById('#fms-cmb-theme'),
|
||||
style : 'width: 128px;',
|
||||
style : 'width: 160px;',
|
||||
editable : false,
|
||||
menuCls : 'menu-aligned',
|
||||
menuStyle : 'min-width:100%;',
|
||||
cls : 'input-group-nr',
|
||||
dataHint : '2',
|
||||
dataHintDirection: 'bottom',
|
||||
|
@ -646,7 +650,7 @@ define([
|
|||
style: 'width: 200px;',
|
||||
editable: false,
|
||||
menuCls : 'menu-aligned',
|
||||
menuStyle: 'min-width: 267px; max-height: 209px;',
|
||||
menuStyle: 'min-width: 100%; max-height: 209px;',
|
||||
dataHint: '2',
|
||||
dataHintDirection: 'bottom',
|
||||
dataHintOffset: 'big'
|
||||
|
|
Loading…
Reference in a new issue