From d6abdf105976ea40cc3b7f6b8e823c4eff1a8872 Mon Sep 17 00:00:00 2001 From: Wenbo Hou Date: Wed, 21 Aug 2024 11:01:28 +0800 Subject: [PATCH] Fix the bounds of the Trashcan within the ListBox --- MsGraphicsPkg/Library/SimpleUIToolKit/ListBox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MsGraphicsPkg/Library/SimpleUIToolKit/ListBox.c b/MsGraphicsPkg/Library/SimpleUIToolKit/ListBox.c index fcc42d1a73..de9ed6f033 100644 --- a/MsGraphicsPkg/Library/SimpleUIToolKit/ListBox.c +++ b/MsGraphicsPkg/Library/SimpleUIToolKit/ListBox.c @@ -982,7 +982,7 @@ Ctor ( SWM_RECT_INIT2 ( this->m_pCells[Index].CellTrashcanBounds, - CellBounds->Left, + CellBounds->Right - TrashcanHitAreaWidth, CellBounds->Top, CheckBoxHitAreaWidth, SWM_RECT_HEIGHT (*CellBounds)