-
- nevayeshirazi
- Posts: 13
- Joined:
Focusing Widget On UE5 When Input Mode Set to FInputModeGameAndUI
Hello,
I've recently discovered that when my input mode is not set to FInputModeUIOnly() in Unreal, my ListBox requires a double-click to select an item. It seems the initial click is potentially being used to focus the ListBox.
Currently, my strategy is to set focus to the ListBox when the cursor hovers over it. However, my user interface will consist of multiple windows, each containing various controls that need to be focused.
Is this hover-to-focus method the best approach? If so, is there a more generalized solution that could be applied to various controls across multiple windows? I appreciate any perspectives or advice on this matter.
I've recently discovered that when my input mode is not set to FInputModeUIOnly() in Unreal, my ListBox requires a double-click to select an item. It seems the initial click is potentially being used to focus the ListBox.
Currently, my strategy is to set focus to the ListBox when the cursor hovers over it. However, my user interface will consist of multiple windows, each containing various controls that need to be focused.
Is this hover-to-focus method the best approach? If so, is there a more generalized solution that could be applied to various controls across multiple windows? I appreciate any perspectives or advice on this matter.
-
- nevayeshirazi
- Posts: 13
- Joined:
Re: Focusing Widget On UE5 When Input Mode Set to FInputModeGameAndUI
I don't know how but in FInputModeGameAndUI ListBox started work as expected (single left click to select).
Who is online
Users browsing this forum: No registered users and 1 guest