You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by Sandro Martini <sa...@gmail.com> on 2011/10/20 00:02:18 UTC

Wrong position for nested menu

Hi all,
I'm trying to make a minimal enhancement (in usability) in
ComponentExporer, but probably there is something strange in
positioning a nested popup menu (see screenshot in attach).
The change would be a menu with the ability to select (check) all and
deselect (uncheck) all checkboxes fot event listeners ... could be
useful when changing behavior in different components and for example
want to see only few listeners enabled.

In attach I put a (only a starting point) patch to see the strange
bevior for component_explorer_window.bxml

Someone has already seen this ?

Thanks,
Sandro

Re: Wrong position for nested menu

Posted by Sandro Martini <sa...@gmail.com>.
Hi all,
someone has idea on how to do a quick fix it for 2.0.1 ?

This is the related issue:
https://issues.apache.org/jira/browse/PIVOT-809
but we could even move to 2.0.2 or 2.1 if it's not a problem ... tell me.

Bye

Re: Wrong position for nested menu

Posted by Sandro Martini <sa...@gmail.com>.
Hi Chris,
> I can't see an attached screenshot, but I applied the patch and see
> that the sub-menu opens to the *right* side of the
> '%eventLoggerPane.changeSelection' menu, so is not properly visible.
>
> Is that what you saw?
Yes, that's exactly the problem ... I remember an old issue (should be
already fixed but I don't find it in jira, sorry). It's the
positioning of popups that should be improved (or at least keep on the
right side, but shifted to be able to see it completely) ...

Suggestions ? Patch ( :-) ) ?


Thanks for now.

Re: Wrong position for nested menu

Posted by Chris Bartlett <cb...@gmail.com>.
Sandro,

I can't see an attached screenshot, but I applied the patch and see
that the sub-menu opens to the *right* side of the
'%eventLoggerPane.changeSelection' menu, so is not properly visible.

Is that what you saw?

I have (tried) to attach a screenshot showing this.  In the
screenshot, my mouse cursor was over the *first* option in the
submenu.

Chris



On 20 October 2011 05:02, Sandro Martini <sa...@gmail.com> wrote:
> Hi all,
> I'm trying to make a minimal enhancement (in usability) in
> ComponentExporer, but probably there is something strange in
> positioning a nested popup menu (see screenshot in attach).
> The change would be a menu with the ability to select (check) all and
> deselect (uncheck) all checkboxes fot event listeners ... could be
> useful when changing behavior in different components and for example
> want to see only few listeners enabled.
>
> In attach I put a (only a starting point) patch to see the strange
> bevior for component_explorer_window.bxml
>
> Someone has already seen this ?
>
> Thanks,
> Sandro
>