aboutsummaryrefslogtreecommitdiffstatsci
path: root/ui/menuCommand.itmp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/menuCommand.itmp')
-rw-r--r--ui/menuCommand.itmp7
1 files changed, 4 insertions, 3 deletions
diff --git a/ui/menuCommand.itmp b/ui/menuCommand.itmp
index 8e572e3..0d57248 100644
--- a/ui/menuCommand.itmp
+++ b/ui/menuCommand.itmp
@@ -1,10 +1,11 @@
<?xml version="1.0"?>
<Button Command="{}" Width="Stretched" Height="Stretched">
<Template>
- <Container Width="Stretched" Height="Stretched" Margin="6"
+ <HorizontalStack Width="Stretched" Height="Stretched" Margin="5" Spacing="5"
MouseEnter="{Background=${ControlHighlight}}"
MouseLeave="{Background=Transparent}">
- <Label Text="{./Caption}" HorizontalAlignment="Left" />
- </Container>
+ <Image Style="icon" Path="{./Icon}"/>
+ <Label Text="{./Caption}" HorizontalAlignment="Left" Margin="5"/>
+ </HorizontalStack>
</Template>
</Button>