Description

The scroll box widget currently hides the cursor and manually draws a closed hand software cursor in SScrollBox::OnPaint when right clicking and dragging. This software cursor does not account for DPI scaling, and will appear smaller than the default cursor as a result.

const FSlateBrush* Brush = FCoreStyle::Get().GetBrush(TEXT("SoftwareCursor_Grab"));
FSlateDrawElement::MakeBox(
    OutDrawElements,
    ++NewLayerId,
    AllottedGeometry.ToPaintGeometry( SoftwareCursorPosition - ( Brush->ImageSize / 2 ), Brush->ImageSize ),
    Brush
); 
Steps to Reproduce
  1. Create a scroll box and fill it with text
  2. Right click the body of the scroll box and drag
  3. Note that the closed hand icon is smaller than the default cursor

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-170842 in the post.

0
Login to Vote

Fixed
ComponentUE - Editor - UI Systems - Slate
Affects Versions4.275.05.1
Target Fix5.2
Fix Commit23537932
Main Commit23537932
CreatedNov 22, 2022
ResolvedDec 16, 2022
UpdatedFeb 4, 2023
View Jira Issue