WPF XAML ComboBox Width
- by griegs
I have the following xaml with all the binding removed;
<StackPanel Grid.Row="2" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Height="20">
<ComboBox x:Name="ddlDay" Width="30"/>
If I set the width of the combobox to 200 it works but if I set it to 50 it doesn't size past the default.
I'm kinda new to xaml so is this default behavior or what do I do to make the combobox small?