You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Noel Grandin (JIRA)" <ji...@apache.org> on 2011/06/30 11:22:28 UTC
[jira] [Commented] (PIVOT-768) Using TablePane.Filler to align
cells in a TablePane can result in blocked mouse input when a Component's
'columnSpan' is > 1
[ https://issues.apache.org/jira/browse/PIVOT-768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057708#comment-13057708 ]
Noel Grandin commented on PIVOT-768:
------------------------------------
I can see two solutions to this
(1) we make TablePane.Filler components "transparent" to mouse/keyboard events, so that it passes keyboard events to the component(s) below it
(2) we add some kind of z-axis specification to the TablePane Container, so that the user can specify which z-order components should be displayed in.
I think option (1) will fix Chris' immediate problem, but this is a general problem with any container component that is overloading the order of child components with two meanings: painting order and layout order.
I'm in favour of implementing option (1) for version 2.0.1 and logging a separate issue to discuss and implement option (2) for version 2.1.
> Using TablePane.Filler to align cells in a TablePane can result in blocked mouse input when a Component's 'columnSpan' is > 1
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: PIVOT-768
> URL: https://issues.apache.org/jira/browse/PIVOT-768
> Project: Pivot
> Issue Type: Improvement
> Components: wtk, wtk-terra
> Affects Versions: 2.0
> Environment: n/a
> Reporter: Chris Bartlett
> Priority: Minor
> Fix For: 2.1
>
> Attachments: table_pane_filler_issue.bxml, table_pane_filler_issue.png
>
>
> See attached BXML file and screenshot
> A workaround is to make the 'filler' Component non-visible, whether it is an actual TablePane.Filler or something else.
> (A non-visible Label works exactly the same as a TablePane.Filler instance)
> Perhaps TablePane.Filler should default to being non-visible to avoid this problem?
> I haven't investigated this in any way, so making the change may well have ramifications elsewhere.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira