diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-10-25 05:35:56 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-10-25 05:35:56 +0000 |
commit | 512122dc89dd2ed6470547a0071b4cfe94f539da (patch) | |
tree | 066ea9c48f4a3c780fda31cf85ebf3b4547fdd9e /MdeModulePkg/Universal/SetupBrowserDxe/Setup.c | |
parent | 1a788cdd654967ca2a7409375ae91790759ed934 (diff) | |
download | edk2-platforms-512122dc89dd2ed6470547a0071b4cfe94f539da.tar.xz |
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
Diffstat (limited to 'MdeModulePkg/Universal/SetupBrowserDxe/Setup.c')
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/Setup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c index 42edc08970..aaff62a6cb 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c @@ -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
|