summaryrefslogtreecommitdiff
path: root/builtin/mainmenu/tab_settings.lua
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2014-12-07 22:09:21 +0100
committerKahrl <kahrl@gmx.net>2014-12-13 00:33:38 +0100
commit581efea60e8fad18b9a2fc9d544f014e2ac693f8 (patch)
treed0b56fe5580ce851bffa076b2624d6d6044bcc71 /builtin/mainmenu/tab_settings.lua
parent733d3182bde69f949851970c08bf09b328deaa53 (diff)
downloadminetest-581efea60e8fad18b9a2fc9d544f014e2ac693f8.tar.gz
minetest-581efea60e8fad18b9a2fc9d544f014e2ac693f8.tar.bz2
minetest-581efea60e8fad18b9a2fc9d544f014e2ac693f8.zip
Remove vertlabels from main menu and relayout a bit
Diffstat (limited to 'builtin/mainmenu/tab_settings.lua')
-rw-r--r--builtin/mainmenu/tab_settings.lua33
1 files changed, 16 insertions, 17 deletions
diff --git a/builtin/mainmenu/tab_settings.lua b/builtin/mainmenu/tab_settings.lua
index 1f8743140..f46fd17d6 100644
--- a/builtin/mainmenu/tab_settings.lua
+++ b/builtin/mainmenu/tab_settings.lua
@@ -130,32 +130,31 @@ local function formspec(tabview, name, tabdata)
local tab_string =
- "vertlabel[0,-0.25;" .. fgettext("SETTINGS") .. "]" ..
- "box[0.75,0;3.25,4;#999999]" ..
- "checkbox[1,0;cb_smooth_lighting;".. fgettext("Smooth Lighting")
+ "box[0,0;3.5,4;#999999]" ..
+ "checkbox[0.25,0;cb_smooth_lighting;".. fgettext("Smooth Lighting")
.. ";".. dump(core.setting_getbool("smooth_lighting")) .. "]"..
- "checkbox[1,0.5;cb_particles;".. fgettext("Enable Particles") .. ";"
+ "checkbox[0.25,0.5;cb_particles;".. fgettext("Enable Particles") .. ";"
.. dump(core.setting_getbool("enable_particles")) .. "]"..
- "checkbox[1,1;cb_3d_clouds;".. fgettext("3D Clouds") .. ";"
+ "checkbox[0.25,1;cb_3d_clouds;".. fgettext("3D Clouds") .. ";"
.. dump(core.setting_getbool("enable_3d_clouds")) .. "]"..
- "checkbox[1,1.5;cb_fancy_trees;".. fgettext("Fancy Trees") .. ";"
+ "checkbox[0.25,1.5;cb_fancy_trees;".. fgettext("Fancy Trees") .. ";"
.. dump(core.setting_getbool("new_style_leaves")) .. "]"..
- "checkbox[1,2.0;cb_opaque_water;".. fgettext("Opaque Water") .. ";"
+ "checkbox[0.25,2.0;cb_opaque_water;".. fgettext("Opaque Water") .. ";"
.. dump(core.setting_getbool("opaque_water")) .. "]"..
- "checkbox[1,2.5;cb_connected_glass;".. fgettext("Connected Glass") .. ";"
+ "checkbox[0.25,2.5;cb_connected_glass;".. fgettext("Connected Glass") .. ";"
.. dump(core.setting_getbool("connected_glass")) .. "]"..
- "dropdown[1,3.25;3;dd_video_driver;"
+ "dropdown[0.25,3.25;3.25;dd_video_driver;"
.. video_driver_string .. ";" .. current_video_driver_idx .. "]" ..
"tooltip[dd_video_driver;" ..
fgettext("Restart minetest for driver change to take effect") .. "]" ..
- "box[4.25,0;3.25,2.5;#999999]" ..
- "checkbox[4.5,0;cb_mipmapping;".. fgettext("Mip-Mapping") .. ";"
+ "box[3.75,0;3.75,2.5;#999999]" ..
+ "checkbox[4,0;cb_mipmapping;".. fgettext("Mip-Mapping") .. ";"
.. dump(core.setting_getbool("mip_map")) .. "]"..
- "checkbox[4.5,0.5;cb_anisotrophic;".. fgettext("Anisotropic Filtering") .. ";"
+ "checkbox[4,0.5;cb_anisotrophic;".. fgettext("Anisotropic Filtering") .. ";"
.. dump(core.setting_getbool("anisotropic_filter")) .. "]"..
- "checkbox[4.5,1.0;cb_bilinear;".. fgettext("Bi-Linear Filtering") .. ";"
+ "checkbox[4,1.0;cb_bilinear;".. fgettext("Bi-Linear Filtering") .. ";"
.. dump(core.setting_getbool("bilinear_filter")) .. "]"..
- "checkbox[4.5,1.5;cb_trilinear;".. fgettext("Tri-Linear Filtering") .. ";"
+ "checkbox[4,1.5;cb_trilinear;".. fgettext("Tri-Linear Filtering") .. ";"
.. dump(core.setting_getbool("trilinear_filter")) .. "]"..
"box[7.75,0;4,4;#999999]" ..
"checkbox[8,0;cb_shaders;".. fgettext("Shaders") .. ";"
@@ -168,9 +167,9 @@ local function formspec(tabview, name, tabdata)
"button[8,4.75;3.75,0.5;btn_reset_singleplayer;".. fgettext("Reset singleplayer world") .. "]"
end
tab_string = tab_string ..
- "box[0.75,4.25;3.25,1.25;#999999]" ..
- "label[1,4.25;" .. fgettext("GUI scale factor") .. "]" ..
- "scrollbar[1,4.75;2.75,0.4;sb_gui_scaling;horizontal;" ..
+ "box[0,4.25;3.5,1.25;#999999]" ..
+ "label[0.25,4.25;" .. fgettext("GUI scale factor") .. "]" ..
+ "scrollbar[0.25,4.75;3,0.4;sb_gui_scaling;horizontal;" ..
gui_scale_to_scrollbar() .. "]" ..
"tooltip[sb_gui_scaling;" ..
fgettext("Scaling factor applied to menu elements: ") ..