Make profile list in Controller listing expand

This commit is contained in:
Travis Nickles 2020-03-24 15:10:07 -05:00
parent 0fc9491927
commit 85adfef8e7

View File

@ -91,9 +91,9 @@
<GridViewColumn x:Name="selectProfileColumn" Header="Selected Profile" Width="130"> <GridViewColumn x:Name="selectProfileColumn" Header="Selected Profile" Width="130">
<GridViewColumn.CellTemplate> <GridViewColumn.CellTemplate>
<DataTemplate> <DataTemplate>
<StackPanel Width="{Binding ElementName=selectProfileColumn, Path=Width}"> <StackPanel Width="{Binding Path=Width, ElementName=selectProfileColumn, Mode=OneWay}" HorizontalAlignment="Center">
<ComboBox x:Name="selectProfCombo" Width="100" HorizontalAlignment="Center" DisplayMemberPath="Name" <ComboBox x:Name="selectProfCombo" Width="{Binding Path=ActualWidth, RelativeSource={RelativeSource Mode=TemplatedParent}, Mode=OneWay}"
ItemsSource="{Binding ProfileListCol}" SelectedIndex="{Binding SelectedIndex}" Height="Auto" Tag="{Binding DevIndex, Mode=OneTime}" Margin="4,0" DisplayMemberPath="Name" ItemsSource="{Binding ProfileListCol}" SelectedIndex="{Binding SelectedIndex}" Height="Auto" Tag="{Binding DevIndex, Mode=OneTime}" Margin="0"
SelectionChanged="SelectProfCombo_SelectionChanged" KeyDown="SelectProfCombo_KeyDown" /> SelectionChanged="SelectProfCombo_SelectionChanged" KeyDown="SelectProfCombo_KeyDown" />
</StackPanel> </StackPanel>
</DataTemplate> </DataTemplate>