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
### Eclipse Workspace Patch 1.0
#P tutorials
Index: src/org/apache/pivot/tutorials/explorer/component_explorer_window.bxml
===================================================================
--- src/org/apache/pivot/tutorials/explorer/component_explorer_window.bxml	(revision 1161493)
+++ src/org/apache/pivot/tutorials/explorer/component_explorer_window.bxml	(working copy)
@@ -496,6 +496,22 @@
                                         </buttonData>
                                         <Menu>
                                             <Menu.Section>
+                                                <Menu.Item buttonData="%eventLoggerPane.changeSelection">
+                                                	<Menu>
+                                                    	<Menu.Section>
+                                                        	<Menu.Item
+                                                            	toggleButton="true"
+                                                                buttonGroup="$verticalScrollBarPolicyGroup"
+                                                                buttonData="%contentPane.scrollBarPolicy.auto"/>
+                                                        	<Menu.Item
+                                                            	toggleButton="true"
+                                                                buttonGroup="$verticalScrollBarPolicyGroup"
+                                                                buttonData="%contentPane.scrollBarPolicy.auto"/>
+														</Menu.Section>
+													</Menu>
+												</Menu.Item>
+                                            </Menu.Section>
+                                            <Menu.Section>
                                                 <Menu.Item buttonData="%eventLoggerPane.clear"
                                                     ButtonPressListener.buttonPressed="eventLogger.clearLog();"/>
                                             </Menu.Section>

Reply via email to