setup: Adjust position of display config window.
Move the window down by one row and set the width explicitly so that it doesn't grow and shrink when fullscreen is enabled/disabled. Thanks to @AXDOOMER. This fixes #852.
This commit is contained in:
parent
9401e974b2
commit
ef3d35a48f
1 changed files with 3 additions and 1 deletions
|
|
@ -226,12 +226,14 @@ void ConfigDisplay(void)
|
|||
sizes_table = TXT_NewTable(3)),
|
||||
NULL);
|
||||
|
||||
TXT_SetColumnWidths(window, 42);
|
||||
|
||||
// The window is set at a fixed vertical position. This keeps
|
||||
// the top of the window stationary when switching between
|
||||
// fullscreen and windowed mode (which causes the window's
|
||||
// height to change).
|
||||
TXT_SetWindowPosition(window, TXT_HORIZ_CENTER, TXT_VERT_TOP,
|
||||
TXT_SCREEN_W / 2, 5);
|
||||
TXT_SCREEN_W / 2, 6);
|
||||
|
||||
GenerateSizesTable(NULL, sizes_table);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue