ComboBox Bug in UE4
Hi,
I am having trouble using the combobox in UE4.
My ComboBox has many items and a scrollbar.
Open it, Use mouse left key drag scrollbar to up or down, Click other control, and then the ComboBox don't Close. Click the gif image to see.
I am having trouble using the combobox in UE4.
My ComboBox has many items and a scrollbar.
Open it, Use mouse left key drag scrollbar to up or down, Click other control, and then the ComboBox don't Close. Click the gif image to see.
-
sfernandez
Site Admin
- Posts: 2984
- Joined:
Re: ComboBox Bug in UE4
Hi, it seems this bug is happening not only in UE4 integration. It is a problem with ComboBox mouse capture being lost when scrollbar is dragged.
Could you please report it in our bugtracker?
Thanks for your collaboration.
Could you please report it in our bugtracker?
Thanks for your collaboration.
Re: ComboBox Bug in UE4
I report it, Thanks.
Besides, We can drag ListBoxItem to up or down In UE4, but ComboBoxItem is not.
So, How to achieve ComboBoxItem drag not using scrollbar ?
Besides, We can drag ListBoxItem to up or down In UE4, but ComboBoxItem is not.
So, How to achieve ComboBoxItem drag not using scrollbar ?
-
sfernandez
Site Admin
- Posts: 2984
- Joined:
Re: ComboBox Bug in UE4
The problem with ComboBox is related to its default style that doesn't have PanningMode set. We will fix this in our style in a future release.
Meanwhile you can set it locally like this:
And if you want to enable virtualization and pixel scrolling you can use a VirtualizingStackPanel as ItemsPanel:
Meanwhile you can set it locally like this:
Code: Select all
<ComboBox ScrollViewer.PanningMode="VerticalFirst">
Code: Select all
<ComboBox ScrollViewer.PanningMode="VerticalFirst" ScrollViewer.CanContentScroll="True" VirtualizingPanel.ScrollUnit="Pixel">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel/>
</ItemsPanelTemplate>
</ComboBox>
Re: ComboBox Bug in UE4
Very thanks, This is my need.The problem with ComboBox is related to its default style that doesn't have PanningMode set. We will fix this in our style in a future release.
Meanwhile you can set it locally like this:And if you want to enable virtualization and pixel scrolling you can use a VirtualizingStackPanel as ItemsPanel:Code: Select all<ComboBox ScrollViewer.PanningMode="VerticalFirst">
Code: Select all<ComboBox ScrollViewer.PanningMode="VerticalFirst" ScrollViewer.CanContentScroll="True" VirtualizingPanel.ScrollUnit="Pixel"> <ComboBox.ItemsPanel> <ItemsPanelTemplate> <VirtualizingStackPanel/> </ItemsPanelTemplate> </ComboBox>
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot], Semrush [Bot] and 8 guests