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

Setting a Frame's 'resizable' style to 'false' does not prevent the Frame from being resized

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.1
    • Component/s: wtk-terra
    • Labels:
    • Environment:
      n/a

      Description

      Original post & workaround here - http://apache-pivot-users.399431.n3.nabble.com/Frame-resizing-bug-tp3568279p3568279.html

      Setting a Frame's 'resizable' style to 'false' only hides the resize handle graphic and does not prevent the Frame from being resized.

      org.apache.pivot.wtk.skin.terra.TerraFrameSkin.mouseDown(Component, Button, int, int)
      should only set 'resizeOffset' if 'resizable == true' or 'resizeHandle.isVisible() == true'
      (Only one of the above checks should be required)

        Attachments

        1. PIVOT-826.patch
          0.7 kB
          Christopher James Bartlett

          Activity

            People

            • Assignee:
              cbartlett Christopher James Bartlett
              Reporter:
              cbartlett Christopher James Bartlett
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: