diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-09 18:42:18 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-09 18:49:44 +0100 |
| commit | cf8fa60c28f4ad16cd3b82d2b74154dfc4aab532 (patch) | |
| tree | c7304302d3ca972fdd7a19ab6fe0606641665d25 /Templates | |
| parent | f92c105ada5520e84f4bbecc23ce9dc52895934e (diff) | |
add focusable container to get MouseClick without making label text selectable
Diffstat (limited to 'Templates')
| -rwxr-xr-x | Templates/ItemTemplate.goml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Templates/ItemTemplate.goml b/Templates/ItemTemplate.goml index 10f201bd..d6784523 100755 --- a/Templates/ItemTemplate.goml +++ b/Templates/ItemTemplate.goml @@ -1,7 +1,7 @@ <?xml version="1.0"?> - -<Label Text="{}" Fit="true" Margin="0" +<Container Fit="true" Margin="0" Focusable="true" MouseEnter="{Background=SteelBlue}" - MouseLeave="{Background=Transparent}" -/> + MouseLeave="{Background=Transparent}"> + <Label Text="{}"/> +</Container> |