[SSE] Refactoring autofilter dialog
This commit is contained in:
parent
5a8dac6e71
commit
71c45112b1
|
@ -979,7 +979,7 @@ define([
|
|||
this.template = options.template || [
|
||||
'<div class="box" style="height: 100%; display: flex; justify-content: space-between;">',
|
||||
'<div class="content-panel" style="width: 100%; border-right: 1px solid #cbcbcb; display: flex; flex-direction: column; justify-content: space-between;">',
|
||||
'<div class="" style="display: flex; flex-direction: column; justify-content: flex-start; height: calc(100% - 40px);">',
|
||||
'<div class="" style="display: flex; flex-direction: column; justify-content: flex-start; height: calc(100% - 37px);">',
|
||||
'<div id="id-sd-cell-search" style="height:22px; margin-bottom:10px;"></div>',
|
||||
'<div class="border-values" style="overflow: hidden; flex-grow: 1;">',
|
||||
'<div id="id-dlg-filter-values" class="combo-values" style=""></div>',
|
||||
|
@ -1355,7 +1355,6 @@ define([
|
|||
}, 100, this);
|
||||
|
||||
if(Common.Utils.InternalSettings.get('sse-settings-size-filter-window')) {
|
||||
this.$window.find('.combo-values').css({'height': Common.Utils.InternalSettings.get('sse-settings-size-filter-window')[1] - 103 + 'px'});
|
||||
this.cellsList.scroller.update({minScrollbarLength : this.cellsList.minScrollbarLength, alwaysVisibleY: true, suppressScrollX: true});
|
||||
}
|
||||
},
|
||||
|
@ -2026,7 +2025,6 @@ define([
|
|||
this.curSize = {resize: false, height: this.getSize()[1]};
|
||||
else if (this.curSize.resize) {
|
||||
var size = this.getSize();
|
||||
this.$window.find('.combo-values').css({'height': size[1] - 100 + 'px'});
|
||||
this.cellsList.scroller.update({minScrollbarLength : this.cellsList.minScrollbarLength, alwaysVisibleY: true, suppressScrollX: true});
|
||||
}
|
||||
},
|
||||
|
@ -2040,7 +2038,6 @@ define([
|
|||
this.curSize.resize = true;
|
||||
this.cellsList.scroller.update({minScrollbarLength : this.cellsList.minScrollbarLength, alwaysVisibleY: false, suppressScrollX: true});
|
||||
}
|
||||
this.$window.find('.combo-values').css({'height': size[1] - 100 + 'px'});
|
||||
this.curSize.height = size[1];
|
||||
}
|
||||
size[0] -= this.menuPanelWidth;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
.combo-values {
|
||||
width: 100%;
|
||||
height: 162px;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
|
||||
.list-item {
|
||||
|
|
Loading…
Reference in a new issue