diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-15 11:45:19 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-15 11:45:19 +0200 |
commit | 935eccde4d6f3222103f0a3827b926793eb0b393 (patch) | |
tree | d2ce043ade08403a99b5681d2d5f83ab9f171599 /src/ui/window.c | |
parent | 51a83b486323d7876b31b9cbf65762364fd1fdb8 (diff) |
Added user preference to disable vertical centering of pages
The centering option affects all pages, including "about:" and
error messages.
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index c5eb7e03..d6a41d3b 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -935,7 +935,7 @@ void init_Window(iWindow *d, iRect rect) { | |||
935 | if (left_Rect(rect) >= 0 || top_Rect(rect) >= 0) { | 935 | if (left_Rect(rect) >= 0 || top_Rect(rect) >= 0) { |
936 | SDL_SetWindowPosition(d->win, left_Rect(rect), top_Rect(rect)); | 936 | SDL_SetWindowPosition(d->win, left_Rect(rect), top_Rect(rect)); |
937 | } | 937 | } |
938 | const iInt2 minSize = init_I2(425, 300); | 938 | const iInt2 minSize = init_I2(425, 325); |
939 | SDL_SetWindowMinimumSize(d->win, minSize.x, minSize.y); | 939 | SDL_SetWindowMinimumSize(d->win, minSize.x, minSize.y); |
940 | SDL_SetWindowTitle(d->win, "Lagrange"); | 940 | SDL_SetWindowTitle(d->win, "Lagrange"); |
941 | /* Some info. */ { | 941 | /* Some info. */ { |