Skip to content

Commit 807ac32

Browse files
Hide ItemsControl of ComboBox width hack, if languageVersionComboBox is invisible.
1 parent 0096994 commit 807ac32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ILSpy/Controls/MainToolBar.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
<Grid Margin="2,0">
7676
<ItemsControl
7777
ItemsSource="{Binding SelectedItem.LanguageVersions, ElementName=languageComboBox, UpdateSourceTrigger=PropertyChanged}"
78+
Visibility="{Binding SelectedItem.HasLanguageVersions, ElementName=languageComboBox, Converter={toms:BooleanToVisibilityConverter}}"
7879
DisplayMemberPath="DisplayName" Height="0" Margin="15,0" />
7980
<ComboBox Name="languageVersionComboBox" DisplayMemberPath="DisplayName" MaxDropDownHeight="Auto"
8081
ToolTip="{x:Static properties:Resources.SelectVersionDropdownTooltip}"

0 commit comments

Comments
 (0)