diff options
Diffstat (limited to 'Templates')
| -rw-r--r-- | Templates/Menu.template | 3 | ||||
| -rw-r--r-- | Templates/MenuItem.template | 17 |
2 files changed, 20 insertions, 0 deletions
diff --git a/Templates/Menu.template b/Templates/Menu.template new file mode 100644 index 00000000..facc1892 --- /dev/null +++ b/Templates/Menu.template @@ -0,0 +1,3 @@ +<?xml version="1.0"?> +<HorizontalStack Name="ItemsContainer" Margin="2" Background="{./Background}" + Width="{./WidthPolicy}" Height="{./HeightPolicy}"/> 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> |