aboutsummaryrefslogtreecommitdiffstatsci
path: root/Templates/ComboBox.template
diff options
context:
space:
mode:
Diffstat (limited to 'Templates/ComboBox.template')
-rwxr-xr-xTemplates/ComboBox.template13
1 files changed, 5 insertions, 8 deletions
diff --git a/Templates/ComboBox.template b/Templates/ComboBox.template
index d28a7b91..906e354d 100755
--- a/Templates/ComboBox.template
+++ b/Templates/ComboBox.template
@@ -1,12 +1,10 @@
<?xml version="1.0"?>
-<Popper Name="popper" PopDirection="Bottom" Height="{../HeightPolicy}" Width="{../WidthPolicy}">
+<Popper Name="popper" PopDirection="Bottom">
<Template>
- <Border CornerRadius="0" Foreground="LightGray" Height="{../../HeightPolicy}" Width="{../../WidthPolicy}">
- <HorizontalStack Margin="0
- " Spacing="1" Height="{../../../HeightPolicy}" Width="{../../../WidthPolicy}">
+ <Border CornerRadius="0" Foreground="LightGray">
+ <HorizontalStack Margin="0" Spacing="1">
<TextBox MinimumSize="80,10" Margin="1" Foreground="Black" Background="White"
- Text="{../../../../SelectedItem}"
- Height="{../../../../HeightPolicy}" Width="{../../../../WidthPolicy}"/>
+ Text="{../../../../SelectedItem}"/>
<Button Width="14" Height="14" Focusable="false"
Template="#Crow.Templates.ArrowButTemplate.crow">
<Image Margin="0" Path="#Crow.Images.Icons.updown.svg" SvgSub="down"/>
@@ -18,11 +16,10 @@
MinimumSize="{../../MinimumPopupSize}" Fit="true">
<Scroller Name="scroller1" Margin="2" VerticalScrolling="true"
MaximumSize="0,200"
- Height="{../HeightPolicy}" Width="{../WidthPolicy}"
HorizontalAlignment="Left"
ValueChanged="../../../_scroller_ValueChanged">
<VerticalStack LayoutChanged="../../../../_list_LayoutChanged"
- Height="Fit" Width="{../../WidthPolicy}" Name="ItemsContainer" Margin="0"
+ Height="Fit" Name="ItemsContainer" Margin="0"
HorizontalAlignment="Left"
VerticalAlignment="Top"/>
</Scroller>