pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edvin Syse <ed...@sysedata.no>
Subject Re: Right click outside of a node in TreeView doesn't invoke MenuHandler
Date Mon, 06 Jun 2011 22:14:13 GMT
Den 06.06.2011 19:25, skrev Edvin Syse:
> When I right click in a TreeView that has a MenuHandler set, the menu
> doesn't show up unless I right click over a Node. Is this expected
> behavior, and what's the correct way to invoke the same menu handler
> when I'm not over a node?

My bad, I had the TreeView inside a ScrollPane, and I hadn't configured 
verticalScrollBarPolicy="fill_to_capacity", so I was actually clicking 
on the ScrollPane and not the TreeView :)

-- Edvin

Mime
View raw message