mirror of https://github.com/acidanthera/audk.git
Reserve one column at left screen to be more visually.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10978 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
1a788cdd65
commit
512122dc89
|
@ -269,7 +269,8 @@ SendForm (
|
|||
|
||||
gOptionBlockWidth = (CHAR16) ((gScreenDimensions.RightColumn - gScreenDimensions.LeftColumn) / 3);
|
||||
gHelpBlockWidth = gOptionBlockWidth;
|
||||
gPromptBlockWidth = gOptionBlockWidth;
|
||||
gPromptBlockWidth = gOptionBlockWidth + LEFT_SKIPPED_COLUMNS;
|
||||
gOptionBlockWidth = gOptionBlockWidth - LEFT_SKIPPED_COLUMNS;
|
||||
|
||||
//
|
||||
// Initialize the strings for the browser, upon exit of the browser, the strings will be freed
|
||||
|
|
|
@ -62,7 +62,7 @@ extern UINT8 SetupBrowserStrings[];
|
|||
|
||||
#define FRONT_PAGE_HEADER_HEIGHT 6
|
||||
#define NONE_FRONT_PAGE_HEADER_HEIGHT 3
|
||||
#define LEFT_SKIPPED_COLUMNS 4
|
||||
#define LEFT_SKIPPED_COLUMNS 1
|
||||
#define FOOTER_HEIGHT 4
|
||||
#define STATUS_BAR_HEIGHT 1
|
||||
#define SCROLL_ARROW_HEIGHT 1
|
||||
|
|
|
@ -1134,7 +1134,7 @@ GetWidth (
|
|||
Width -= SUBTITLE_INDENT;
|
||||
}
|
||||
|
||||
return Width;
|
||||
return Width - LEFT_SKIPPED_COLUMNS;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1704,7 +1704,7 @@ UiDisplayMenu (
|
|||
Row = LocalScreen.TopRow + NONE_FRONT_PAGE_HEADER_HEIGHT + SCROLL_ARROW_HEIGHT;
|
||||
}
|
||||
|
||||
Col = LocalScreen.LeftColumn;
|
||||
Col = LocalScreen.LeftColumn + LEFT_SKIPPED_COLUMNS;
|
||||
BottomRow = LocalScreen.BottomRow - STATUS_BAR_HEIGHT - FOOTER_HEIGHT - SCROLL_ARROW_HEIGHT - 1;
|
||||
|
||||
Selection->TopRow = TopRow;
|
||||
|
|
Loading…
Reference in New Issue