aboutsummaryrefslogtreecommitdiffstatsci
path: root/Templates/MenuItem.template
diff options
context:
space:
mode:
Diffstat (limited to 'Templates/MenuItem.template')
-rw-r--r--Templates/MenuItem.template17
1 files changed, 17 insertions, 0 deletions
diff --git a/Templates/MenuItem.template b/Templates/MenuItem.template
new file mode 100644
index 00000000..86b05be6
--- /dev/null
+++ b/Templates/MenuItem.template
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<Popper Caption="{./Caption}" Background="{./Background}" PopDirection="{./Orientation}"
+ Foreground = "{./Foreground}"
+ Unpop = "{Foreground=LightGray;Background=Transparent}">
+ <Template>
+ <Label Text="{./Caption}"
+ MinimumSize = "120,0"
+ Margin="3" TextAlignment="Left"
+ Height="{./HeightPolicy}" Width="{./WidthPolicy}"
+ Font="{./Font}"
+ Background="{./Background}"
+ Foreground="{./Foreground}"/>
+ </Template>
+ <Border Foreground="LightGray" Fit="true">
+ <VerticalStack Name="ItemsContainer" Margin="2" Fit="true" Background="Onyx"/>
+ </Border>
+</Popper>