You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2011/04/18 16:30:05 UTC

[jira] [Commented] (PIVOT-731) Ignore Flag for controls within a Rollup Heading

    [ https://issues.apache.org/jira/browse/PIVOT-731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021046#comment-13021046 ] 

Greg Brown commented on PIVOT-731:
----------------------------------

That actually may have more to do with the implementation of the header component than Rollup. If the header component takes the focus on mouse down, it should probably consume the event (which will prevent the rollup from collapsing).


> Ignore Flag for controls within a Rollup Heading
> ------------------------------------------------
>
>                 Key: PIVOT-731
>                 URL: https://issues.apache.org/jira/browse/PIVOT-731
>             Project: Pivot
>          Issue Type: New Feature
>          Components: wtk
>    Affects Versions: 2.0
>         Environment: Windows 7 Professional 64bit
> Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
>            Reporter: Daniel Kuschny
>              Labels: collapse, expanded, header, rollup
>             Fix For: 2.0.1
>
>
> If you place any control which requires a focus into a Rollup Header you can't click on it without collapsing the rollup. 
> I tried to place a ListButton within a Rollup Header:
> <Rollup expanded="true">
>     <heading>
>         <BoxPane orientation="horizontal">
>             <Label text="Choose:" />
>             <ListButton listData="['Option 1', 'Option 2']" />
>         </BoxPane>
>     </heading>
>     ...
> If I click on the ListButton, the rollup expands/collapses. Please add a shared property which allows preventing the collapse behaviour on specific controls:
> <Rollup expanded="true">
>     <heading>
>         <BoxPane orientation="horizontal">
>             <Label text="Choose:" />
>             <ListButton listData="['Option 1', 'Option 2']" Rollup.ignore="true" />
>         </BoxPane>
>     </heading>
>     ...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira