Get historylog to better fit its tab's full height

This commit is contained in:
nathangray 2019-04-18 14:12:16 -06:00
parent e67e8672df
commit b9470e8594

View File

@ -171,6 +171,7 @@ var et2_historylog = (function(){ "use strict"; return et2_valueWidget.extend([e
// Create the dynheight component which dynamically scales the inner
// container.
this.div.parentsUntil('.et2_tabs').height('100%');
this.dynheight = new et2_dynheight(this.div.parent(),
this.innerDiv, 250
);
@ -661,6 +662,10 @@ var et2_historylog = (function(){ "use strict"; return et2_valueWidget.extend([e
this.div.trigger('resize.' +this.options.value.app + this.options.value.id);
}
}
if(this.dynheight)
{
this.dynheight.update();
}
// Resize diff widgets to match new space
if(this.dataview)
{