Browse Source

Hide ItemsControl of ComboBox width hack, if languageVersionComboBox is invisible.

pull/3405/head
Siegfried Pammer 6 months ago
parent
commit
807ac32aab
  1. 1
      ILSpy/Controls/MainToolBar.xaml

1
ILSpy/Controls/MainToolBar.xaml

@ -75,6 +75,7 @@ @@ -75,6 +75,7 @@
<Grid Margin="2,0">
<ItemsControl
ItemsSource="{Binding SelectedItem.LanguageVersions, ElementName=languageComboBox, UpdateSourceTrigger=PropertyChanged}"
Visibility="{Binding SelectedItem.HasLanguageVersions, ElementName=languageComboBox, Converter={toms:BooleanToVisibilityConverter}}"
DisplayMemberPath="DisplayName" Height="0" Margin="15,0" />
<ComboBox Name="languageVersionComboBox" DisplayMemberPath="DisplayName" MaxDropDownHeight="Auto"
ToolTip="{x:Static properties:Resources.SelectVersionDropdownTooltip}"

Loading…
Cancel
Save