Off-by-1 layout error in TerraAccordionSkin
-------------------------------------------

                 Key: PIVOT-298
                 URL: https://issues.apache.org/jira/browse/PIVOT-298
             Project: Pivot
          Issue Type: Bug
          Components: wtk
    Affects Versions: 1.3
            Reporter: Todd Volkert
            Priority: Minor
             Fix For: 1.3.1
         Attachments: screenshot.png

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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to