Results 1 to 2 of 2

Thread: SimpleContainer & HtmlLayoutContainer should alert it does not support percent sizes

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext GWT Premium Member
    Join Date
    Jan 2009
    Location
    Franktown, CO
    Posts
    440
    Vote Rating
    6
      0  

    Default SimpleContainer & HtmlLayoutContainer should alert it does not support percent sizes

    See http://www.sencha.com/forum/showthre...-size-behavior for context of this issue.

    SimpleContainer should throw IllegalArgumentException (with a message saying you don't support this) if size is called with a percentage size, currently it accepts the setSize method call and it gives no indication that it isn't supported.

    Also HtmlLayoutContainer here to it would be good know what this can't do, ideally by throwing a runtime exception if possible but if not at least the docs should indicate this.

  2. #2
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976
    Vote Rating
    131
      0  

    Default

    HtmlLayoutContainer does not extend resizecontainer and so it does not handle any resizing. This is the same with FlowLayoutContainer. However, we probably can also add notes that it does not resize its children (although, how should it be able to do it, as no HtmlLayoutContainer equals another. They can all have different markup)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •