play-co / timestep

GNU General Public License v3.0
16 stars 27 forks source link

Reflow Manager reflows ViewPools not obtained #44

Open rampr opened 9 years ago

rampr commented 9 years ago

I enabled debug in ReflowManager and tried the following code:

import ui.View as View;
import ui.ViewPool as ViewPool;

var Complex = Class(View, function(supr) {
  this.wrapper = new View({
    layout: "box",
    width: 350
  });
});

exports = Class(GC.Application, function () {

  this.initUI = function () {
    this.pool = new ViewPool({
      ctor: Complex,
      initCount: 1
    });
  };

  this.launchUI = function () {
  };
});

Screenshot: screen shot 2015-02-10 at 10 29 51 am