Window size: use 1024x600 to avoid a smaller UI
authorparamat <paramat@users.noreply.github.com>
Mon, 17 Jul 2017 20:19:46 +0000 (21:19 +0100)
committerparamat <mat.gregory@virginmedia.com>
Tue, 18 Jul 2017 21:11:34 +0000 (22:11 +0100)
The change from 800x600 to 1024x576 (16:9) was a reduction in height which caused
user interface to become smaller.
Continue to use width 1024 as it is a common small screen width.

builtin/settingtypes.txt
minetest.conf.example
src/defaultsettings.cpp

index 60508d0dda4058ab476adabbf49a9f1b49a7727e..72a5db206f3a7081648500da1d1569fd51783dd0 100644 (file)
@@ -487,7 +487,7 @@ viewing_range (Viewing range) int 100 20 4000
 screen_w (Screen width) int 1024
 
 #    Height component of the initial window size.
-screen_h (Screen height) int 576
+screen_h (Screen height) int 600
 
 #    Save window size automatically when modified.
 autosave_screensize (Autosave Screen Size) bool true
index b3e28cc91660b66699b61e6b60672fb5e8f9c8ff..f29849baf62b75ea00e0da0caa1eabf941f9f1a5 100644 (file)
 
 #    Height component of the initial window size.
 #    type: int
-# screen_h = 576
+# screen_h = 600
 
 #    Save window size automatically when modified.
 #    type: bool
index 84e4a314384b9ad58aab513f68f642cadafe2528..9785b5f5be60031d068630ba9dba06a739ece969 100644 (file)
@@ -126,7 +126,7 @@ void set_default_settings(Settings *settings)
        settings->setDefault("pause_fps_max", "20");
        settings->setDefault("viewing_range", "100");
        settings->setDefault("screen_w", "1024");
-       settings->setDefault("screen_h", "576");
+       settings->setDefault("screen_h", "600");
        settings->setDefault("autosave_screensize", "true");
        settings->setDefault("fullscreen", "false");
        settings->setDefault("fullscreen_bpp", "24");