Port printextent-example to ExtJS 5.0.0