aboutsummaryrefslogtreecommitdiffstatsci
path: root/Templates/MenuItem.template
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2017-01-27 00:21:48 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2017-01-27 00:21:48 +0100
commit8a25a19ee73e8b7c0c9726bbb2ce4ec918f4e905 (patch)
tree8098ec3d8137c0dcc569db78fbdb4d6921187e28 /Templates/MenuItem.template
parenta519d07929a490ac9bfade86355865744787f311 (diff)
icon menuitem, PopWidth and PopHeight, commands
Diffstat (limited to 'Templates/MenuItem.template')
-rw-r--r--Templates/MenuItem.template13
1 files changed, 8 insertions, 5 deletions
diff --git a/Templates/MenuItem.template b/Templates/MenuItem.template
index 2f4400ec..311cd3ef 100644
--- a/Templates/MenuItem.template
+++ b/Templates/MenuItem.template
@@ -11,13 +11,16 @@
MinimumSize = "60,0"
Foreground="Transparent"
Background="{./Background}">
- <Label Text="{./Caption}"
- Foreground="{./Foreground}"
- Margin="1" HorizontalAlignment="Left"
- Font="{./Font}" />
+ <HorizontalStack>
+ <Image Style="Icon" Picture="{../../../../Icon}"/>
+ <Label Text="{./Caption}"
+ Foreground="{./Foreground}"
+ Margin="3" HorizontalAlignment="Left"
+ Font="{./Font}" />
+ </HorizontalStack>
</Border>
</Template>
<Border Foreground="DimGray" Fit="true">
- <VerticalStack Name="ItemsContainer" Margin="2" Fit="true" Background="Onyx"/>
+ <VerticalStack Name="ItemsContainer" Margin="0" Fit="true" Background="Onyx"/>
</Border>
</Popper>