[DE] Change table settings
This commit is contained in:
parent
59f795f866
commit
6442423a03
|
@ -113,25 +113,17 @@
|
|||
<tr>
|
||||
<td class="padding-small" colspan=2>
|
||||
<label style="margin-top: 3px;"><%= scope.textHeight %></label>
|
||||
<div id="table-btn-distrub-rows" style="display: inline-block; float:right; margin-left: 4px;"></div>
|
||||
<div id="table-spin-cell-height" style="display: inline-block; float:right;"></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="padding-small" colspan=2>
|
||||
<label style="margin-top: 3px;"><%= scope.textWidth %></label>
|
||||
<div id="table-btn-distrub-cols" style="display: inline-block; float:right; margin-left: 4px;"></div>
|
||||
<div id="table-spin-cell-width" style="display: inline-block; float:right;"></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="padding-small" colspan=2>
|
||||
<button type="button" class="btn btn-text-default" id="table-btn-distrub-rows" style="width:100%;"><%= scope.textDistributeRows %></button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="padding-small" colspan=2>
|
||||
<button type="button" class="btn btn-text-default" id="table-btn-distrub-cols" style="width:100%;"><%= scope.textDistributeCols %></button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="padding-small" colspan=2>
|
||||
<div class="separator horizontal"></div>
|
||||
|
|
|
@ -367,7 +367,7 @@ define([
|
|||
this.numHeight = new Common.UI.MetricSpinner({
|
||||
el: $('#table-spin-cell-height'),
|
||||
step: .1,
|
||||
width: 115,
|
||||
width: 90,
|
||||
defaultUnit : "cm",
|
||||
value: '1 cm',
|
||||
maxValue: 55.88,
|
||||
|
@ -385,7 +385,7 @@ define([
|
|||
this.numWidth = new Common.UI.MetricSpinner({
|
||||
el: $('#table-spin-cell-width'),
|
||||
step: .1,
|
||||
width: 115,
|
||||
width: 90,
|
||||
defaultUnit : "cm",
|
||||
value: '1 cm',
|
||||
maxValue: 55.88,
|
||||
|
@ -401,7 +401,10 @@ define([
|
|||
this.spinners.push(this.numWidth);
|
||||
|
||||
this.btnDistributeRows = new Common.UI.Button({
|
||||
el: $('#table-btn-distrub-rows')
|
||||
parentEl: $('#table-btn-distrub-rows', me.$el),
|
||||
cls: 'btn-toolbar',
|
||||
iconCls: 'toolbar__icon btn-distrub-rows',
|
||||
hint: this.textDistributeRows
|
||||
});
|
||||
this.lockedControls.push(this.btnDistributeRows);
|
||||
this.btnDistributeRows.on('click', _.bind(function(btn){
|
||||
|
@ -409,7 +412,10 @@ define([
|
|||
}, this));
|
||||
|
||||
this.btnDistributeCols = new Common.UI.Button({
|
||||
el: $('#table-btn-distrub-cols')
|
||||
parentEl: $('#table-btn-distrub-cols', me.$el),
|
||||
cls: 'btn-toolbar',
|
||||
iconCls: 'toolbar__icon btn-distrub-cols',
|
||||
hint: this.textDistributeCols
|
||||
});
|
||||
this.lockedControls.push(this.btnDistributeCols);
|
||||
this.btnDistributeCols.on('click', _.bind(function(btn){
|
||||
|
|
Loading…
Reference in a new issue