Kain baru mengatur lebar set

var canvas = new fabric.Canvas("test_fabric");
canvas.setDimensions({width:800, height:200});
Calm Cobra