-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Something as simple as a VerticalLayout that gives each Figure equal space and also updates with browser window size changes?
I do somewhat of the equivalent with:
function updateWindow() {
var width = window.innerWidth - 60;
var height = window.innerHeight * .40;
fig.width(width).height(height);
fig2.height(height/2).width(width);
focus.width(width);
}
var doit;
window.onresize = function(){
clearTimeout(doit);
doit = setTimeout(updateWindow, 100);
};Metadata
Metadata
Assignees
Labels
No labels