MdeModulePkg/FormDisplay: Make the LineWidth of option consistent
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=529
LineWidth of option in funcrion UpdateSkipInfoForMenu and DisplayOneMenu
are inconsistent. Now fix this issue to avoid incorrect UI display.
Cc: Eric Dong <eric.dong@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
(cherry picked from commit df5914993c
)
This commit is contained in:
@ -877,7 +877,7 @@ UpdateSkipInfoForMenu (
|
||||
CHAR16 *OutputString;
|
||||
UINT16 GlyphWidth;
|
||||
|
||||
Width = (UINT16) gOptionBlockWidth;
|
||||
Width = (UINT16) gOptionBlockWidth - 1;
|
||||
GlyphWidth = 1;
|
||||
Row = 1;
|
||||
|
||||
|
Reference in New Issue
Block a user