Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-207

Add support for bounding preferred size

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3
    • Component/s: wtk
    • Labels:
      None

      Description

      Add get/setMaximum/MinimumPreferredWidth/Height() methods to Component. If set, the preferred size methods will use these values to bound their results.

        Activity

        Hide
        gbrown Greg Brown added a comment -

        That's exactly the point. This way, we don't need to add a new container just to handle this case. All containers can take advantage of it without any changes to their existing layout logic.

        Show
        gbrown Greg Brown added a comment - That's exactly the point. This way, we don't need to add a new container just to handle this case. All containers can take advantage of it without any changes to their existing layout logic.
        Hide
        grandinj Noel Grandin added a comment -

        What problem was this intended to solve?
        Surely it's the kind of thing that would better be solved by a Container subclass that implemented a new layout strategy?
        Just curious

        Show
        grandinj Noel Grandin added a comment - What problem was this intended to solve? Surely it's the kind of thing that would better be solved by a Container subclass that implemented a new layout strategy? Just curious

          People

          • Assignee:
            tvolkert Todd Volkert
            Reporter:
            gbrown Greg Brown
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development