The search cursor on the Node Palette interface does not cover the (#6218)
searched keywords completely Signed-off-by: T.J. McGrath-Daly <tj.mcgrath.daly@huawei.com>
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ namespace GraphCanvas
|
||||
if (leftSpot < textRect.right())
|
||||
{
|
||||
int visibleLength = AZStd::GetMin(selectedTextLength, textRect.right() - leftSpot);
|
||||
QRect highlightRect(textRect.left() + preSelectedTextLength, textRect.top(), visibleLength, textRect.height());
|
||||
QRect highlightRect(textRect.left() + preSelectedTextLength + 4, textRect.top(), visibleLength, textRect.height());
|
||||
|
||||
// paint the highlight rect
|
||||
painter->fillRect(highlightRect, options.palette.highlight());
|
||||
|
||||
Reference in New Issue
Block a user