Project

General

Profile

Bug #11539 » 11539-initsizecalc.patch

Tolleiv Nietsch, 2011-01-22 13:05

View differences:

Resources/Private/Layouts/popup.html (working copy)
// poor way to avoid that we require any scrollbars within the frames
var finalHeight = height * 1.1;
Ext.getCmp('visualPanel').setHeight(finalHeight);
Ext.getCmp('liveContainer').setHeight((100-Ext.getCmp('sizeSlider').getValue()/100) * finalHeight);
Ext.getCmp('wsContainer').setHeight(finalHeight);
Ext.getCmp('wsPanel').setHeight(finalHeight);
Ext.getCmp('liveContainer').setHeight(finalHeight * (100 - Ext.getCmp('sizeSlider').getValue()) / 100);
Ext.getCmp('livePanel').setHeight(finalHeight);
}
</script>
(9-9/9)