Skip to content

Commit

Permalink
Debugger: Script Window - Fixed display issues in auto-complete popup
Browse files Browse the repository at this point in the history
Potentially caused by list virtualization bugs in Avalonia?
  • Loading branch information
SourMesen committed May 27, 2023
1 parent e2f6404 commit b3fb65b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions UI/Styles/AvaloniaEditStyles.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@
<ControlTemplate>
<Border BorderBrush="Gray" BorderThickness="1">
<cc:CompletionListBox Name="PART_ListBox" FontSize="11">
<cc:CompletionListBox.ItemsPanel>
<ItemsPanelTemplate>
<!-- Disable virtualization for auto-complete popup to prevent display bugs -->
<StackPanel />
</ItemsPanelTemplate>
</cc:CompletionListBox.ItemsPanel>
<cc:CompletionListBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal" Margin="0">
Expand Down

0 comments on commit b3fb65b

Please sign in to comment.