Hi, I have a couple of:

      this.labelHtml = new qx.ui.embed.Html();
      this.labelHtml.getContainerElement().setAttribute("id", "foo");
      this.labelHtml.setOverflow("auto", "auto");
      this.labelHtml.setDecorator("main");
      this.labelHtml.setBackgroundColor("white");
      this.labelHtml.setWidth(278);
      this.labelHtml.setHeight(350);
      this.labelHtml.setMinHeight(100);
      this.labelHtml.setCssClass("labelContainer");
      this.labelHtml.setTabIndex(10);
      this.labelHtml.setUserData("some_id", 0);
      this.viewer.add(this.labelHtml, {row: 1, column: 2, rowSpan: 5});

When I set the content HTML, it usually overflows the size of the container
(vertically) and vertical scrollbars appear. So I scroll to the bottom to
see the missing part. Next, I change the content HTML - it's roughly the
same size as the last HTML, and the scrolling is still set at the bottom.
I'd like to have the new HTML show up with the top visible; is there a way
to do this? There's a method off of embed.Html for scrolling a child widget,
but this doesn't have any children that I know of.
Thanks,
Ken
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to