Sha256: 6c3e94f425e2dd8001f4edf944b5f0c6b7cf8e1b9276bc1d208c6a76054ce425

Contents?: true

Size: 631 Bytes

Versions: 4

Compression:

Stored size: 631 Bytes

Contents

module("SC.ScrollView integration");

test("should work with views that have static layout applied", function() {
  var pane;
  try {
    SC.run(function () {
      pane = SC.MainPane.create({
        childViews: ['scrollView'],

        scrollView: SC.ScrollView.design({
          layout: { width: 400, height: 600 },

          contentView: SC.View.design({
            useStaticLayout: YES
          })
        })
      });

      pane.append();
    });

    ok(true, "displays scroll view without throwing an exception");
  } finally {
    if (pane) {
      SC.run(function () {
        pane.remove();
      });
    }
  }
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sproutcore-1.11.0 lib/frameworks/sproutcore/frameworks/desktop/tests/views/scroll/integration.js
sproutcore-1.11.0.rc3 lib/frameworks/sproutcore/frameworks/desktop/tests/views/scroll/integration.js
sproutcore-1.11.0.rc2 lib/frameworks/sproutcore/frameworks/desktop/tests/views/scroll/integration.js
sproutcore-1.11.0.rc1 lib/frameworks/sproutcore/frameworks/desktop/tests/views/scroll/integration.js