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

Off-by-1 layout error in TerraAccordionSkin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3
    • 1.4
    • wtk
    • None

    Description

      Steps to reproduce:

      1) Change the accordion test to use the following WTKX:
      <Accordion styles="

      {padding:1}

      ">
      <panels>
      <Label Accordion.label="A" text="Hello"/>
      <Label Accordion.label="B" text="World"/>
      <Label Accordion.label="C" text="From" enabled="false"/>
      <PushButton Accordion.label="D" buttonData="Pivot"/>
      </panels>
      </Accordion>
      2) Launch the accordion test, and switch to the "D" panel

      Result:

      The push button doesn't have the 1-pixel padding to the top of it that you'd expect, given the padding:1 style set on the accordion. The attached screenshot shows this in a scaled display instance.

      Attachments

        1. screenshot.png
          24 kB
          Todd Volkert

        Activity

          People

            Unassigned Unassigned
            tvolkert Todd Volkert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: