Fix layout for tt lang (#938)
This commit is contained in:
parent
15df027586
commit
802da4233f
|
@ -160,7 +160,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="padding-large" style="display: inline-block; margin-right: 9px;">
|
<div class="padding-large" style="display: inline-block; margin-right: 8px;">
|
||||||
<label class="input-label"><%= scope.textTabPosition %></label>
|
<label class="input-label"><%= scope.textTabPosition %></label>
|
||||||
<div id="paraadv-spin-tab"></div>
|
<div id="paraadv-spin-tab"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -273,7 +273,7 @@ define([
|
||||||
parentEl: $('#id-dlg-h-presets'),
|
parentEl: $('#id-dlg-h-presets'),
|
||||||
cls: 'btn-text-menu-default',
|
cls: 'btn-text-menu-default',
|
||||||
caption: this.textPresets,
|
caption: this.textPresets,
|
||||||
style: 'width: 110px;',
|
style: 'width: 115px;',
|
||||||
menu: true
|
menu: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -281,7 +281,7 @@ define([
|
||||||
parentEl: $('#id-dlg-f-presets'),
|
parentEl: $('#id-dlg-f-presets'),
|
||||||
cls: 'btn-text-menu-default',
|
cls: 'btn-text-menu-default',
|
||||||
caption: this.textPresets,
|
caption: this.textPresets,
|
||||||
style: 'width: 110px;',
|
style: 'width: 115px;',
|
||||||
menu: true
|
menu: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -298,9 +298,9 @@ define([
|
||||||
parentEl: $('#id-dlg-h-insert'),
|
parentEl: $('#id-dlg-h-insert'),
|
||||||
cls: 'btn-text-menu-default',
|
cls: 'btn-text-menu-default',
|
||||||
caption: this.textInsert,
|
caption: this.textInsert,
|
||||||
style: 'width: 110px;',
|
style: 'width: 115px;',
|
||||||
menu: new Common.UI.Menu({
|
menu: new Common.UI.Menu({
|
||||||
style: 'min-width: 110px;',
|
style: 'min-width: 115px;',
|
||||||
maxHeight: 200,
|
maxHeight: 200,
|
||||||
additionalAlign: this.menuAddAlign,
|
additionalAlign: this.menuAddAlign,
|
||||||
items: data
|
items: data
|
||||||
|
@ -313,9 +313,9 @@ define([
|
||||||
parentEl: $('#id-dlg-f-insert'),
|
parentEl: $('#id-dlg-f-insert'),
|
||||||
cls: 'btn-text-menu-default',
|
cls: 'btn-text-menu-default',
|
||||||
caption: this.textInsert,
|
caption: this.textInsert,
|
||||||
style: 'width: 110px;',
|
style: 'width: 115px;',
|
||||||
menu: new Common.UI.Menu({
|
menu: new Common.UI.Menu({
|
||||||
style: 'min-width: 110px;',
|
style: 'min-width: 115px;',
|
||||||
maxHeight: 200,
|
maxHeight: 200,
|
||||||
additionalAlign: this.menuAddAlign,
|
additionalAlign: this.menuAddAlign,
|
||||||
items: data
|
items: data
|
||||||
|
@ -376,9 +376,9 @@ define([
|
||||||
this.cmbFontSize.push(new Common.UI.ComboBox({
|
this.cmbFontSize.push(new Common.UI.ComboBox({
|
||||||
el: $('#id-dlg-h-font-size'),
|
el: $('#id-dlg-h-font-size'),
|
||||||
cls: 'input-group-nr',
|
cls: 'input-group-nr',
|
||||||
style: 'width: 55px;',
|
style: 'width: 45px;',
|
||||||
menuCls : 'scrollable-menu',
|
menuCls : 'scrollable-menu',
|
||||||
menuStyle: 'min-width: 55px;max-height: 270px;',
|
menuStyle: 'min-width: 45px;max-height: 270px;',
|
||||||
hint: this.tipFontSize,
|
hint: this.tipFontSize,
|
||||||
data: data
|
data: data
|
||||||
}));
|
}));
|
||||||
|
@ -392,9 +392,9 @@ define([
|
||||||
this.cmbFontSize.push(new Common.UI.ComboBox({
|
this.cmbFontSize.push(new Common.UI.ComboBox({
|
||||||
el: $('#id-dlg-f-font-size'),
|
el: $('#id-dlg-f-font-size'),
|
||||||
cls: 'input-group-nr',
|
cls: 'input-group-nr',
|
||||||
style: 'width: 55px;',
|
style: 'width: 45px;',
|
||||||
menuCls : 'scrollable-menu',
|
menuCls : 'scrollable-menu',
|
||||||
menuStyle: 'min-width: 55px;max-height: 270px;',
|
menuStyle: 'min-width: 45px;max-height: 270px;',
|
||||||
hint: this.tipFontSize,
|
hint: this.tipFontSize,
|
||||||
data: data
|
data: data
|
||||||
}));
|
}));
|
||||||
|
@ -662,14 +662,14 @@ define([
|
||||||
});
|
});
|
||||||
|
|
||||||
this.btnPresetsH.setMenu(new Common.UI.Menu({
|
this.btnPresetsH.setMenu(new Common.UI.Menu({
|
||||||
style: 'min-width: 110px;',
|
style: 'min-width: 115px;',
|
||||||
maxHeight: 200,
|
maxHeight: 200,
|
||||||
additionalAlign: this.menuAddAlign,
|
additionalAlign: this.menuAddAlign,
|
||||||
items: presets
|
items: presets
|
||||||
}));
|
}));
|
||||||
this.btnPresetsH.menu.on('item:click', _.bind(this.onPresetSelect, this, false));
|
this.btnPresetsH.menu.on('item:click', _.bind(this.onPresetSelect, this, false));
|
||||||
this.btnPresetsF.setMenu(new Common.UI.Menu({
|
this.btnPresetsF.setMenu(new Common.UI.Menu({
|
||||||
style: 'min-width: 110px;',
|
style: 'min-width: 115px;',
|
||||||
maxHeight: 200,
|
maxHeight: 200,
|
||||||
additionalAlign: this.menuAddAlign,
|
additionalAlign: this.menuAddAlign,
|
||||||
items: presets
|
items: presets
|
||||||
|
|
Loading…
Reference in a new issue