fixes
This commit is contained in:
29
Pilz.UI.AvaloniaUI/Controls/ImageDropDownButton.axaml
Normal file
29
Pilz.UI.AvaloniaUI/Controls/ImageDropDownButton.axaml
Normal file
@@ -0,0 +1,29 @@
|
||||
<DropDownButton
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:symbols="clr-namespace:Pilz.UI.Symbols;assembly=Pilz.UI"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
HorizontalContentAlignment="Center"
|
||||
VerticalContentAlignment="Center"
|
||||
x:Class="Pilz.UI.AvaloniaUI.Controls.ImageDropDownButton">
|
||||
|
||||
<StackPanel
|
||||
Orientation="Horizontal"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Spacing="6">
|
||||
|
||||
<Image
|
||||
x:Name="ButtonImage"
|
||||
VerticalAlignment="Center"
|
||||
Width="{x:Static symbols:SymbolGlobals.DefaultImageSmallSize}"
|
||||
Height="{x:Static symbols:SymbolGlobals.DefaultImageSmallSize}"
|
||||
IsVisible="False"/>
|
||||
|
||||
<TextBlock
|
||||
x:Name="ButtonText"
|
||||
VerticalAlignment="Center"/>
|
||||
</StackPanel>
|
||||
</DropDownButton>
|
||||
Reference in New Issue
Block a user