176
176
177
177
local function formspec (tabview , name , tabdata )
178
178
local tab_string =
179
- " box[0,0;3.5 ,4.5;#999999]" ..
179
+ " box[0,0;3.75 ,4.5;#999999]" ..
180
180
" checkbox[0.25,0;cb_smooth_lighting;" .. fgettext (" Smooth Lighting" ) .. " ;"
181
181
.. dump (core .settings :get_bool (" smooth_lighting" )) .. " ]" ..
182
182
" checkbox[0.25,0.5;cb_particles;" .. fgettext (" Particles" ) .. " ;"
@@ -187,38 +187,38 @@ local function formspec(tabview, name, tabdata)
187
187
.. dump (core .settings :get_bool (" opaque_water" )) .. " ]" ..
188
188
" checkbox[0.25,2.0;cb_connected_glass;" .. fgettext (" Connected Glass" ) .. " ;"
189
189
.. dump (core .settings :get_bool (" connected_glass" )) .. " ]" ..
190
- " dropdown[0.25,2.8;3.3 ;dd_node_highlighting;" .. dd_options .node_highlighting [1 ] .. " ;"
190
+ " dropdown[0.25,2.8;3.5 ;dd_node_highlighting;" .. dd_options .node_highlighting [1 ] .. " ;"
191
191
.. getSettingIndex .NodeHighlighting () .. " ]" ..
192
- " dropdown[0.25,3.6;3.3 ;dd_leaves_style;" .. dd_options .leaves [1 ] .. " ;"
192
+ " dropdown[0.25,3.6;3.5 ;dd_leaves_style;" .. dd_options .leaves [1 ] .. " ;"
193
193
.. getSettingIndex .Leaves () .. " ]" ..
194
- " box[3.75 ,0;3.75,4.5;#999999]" ..
195
- " label[3.85 ,0.1;" .. fgettext (" Texturing:" ) .. " ]" ..
196
- " dropdown[3.85 ,0.55;3.85 ;dd_filters;" .. dd_options .filters [1 ] .. " ;"
194
+ " box[4 ,0;3.75,4.5;#999999]" ..
195
+ " label[4.25 ,0.1;" .. fgettext (" Texturing:" ) .. " ]" ..
196
+ " dropdown[4.25 ,0.55;3.5 ;dd_filters;" .. dd_options .filters [1 ] .. " ;"
197
197
.. getSettingIndex .Filter () .. " ]" ..
198
- " dropdown[3.85 ,1.35;3.85 ;dd_mipmap;" .. dd_options .mipmap [1 ] .. " ;"
198
+ " dropdown[4.25 ,1.35;3.5 ;dd_mipmap;" .. dd_options .mipmap [1 ] .. " ;"
199
199
.. getSettingIndex .Mipmap () .. " ]" ..
200
- " label[3.85 ,2.15;" .. fgettext (" Antialiasing:" ) .. " ]" ..
201
- " dropdown[3.85 ,2.6;3.85 ;dd_antialiasing;" .. dd_options .antialiasing [1 ] .. " ;"
200
+ " label[4.25 ,2.15;" .. fgettext (" Antialiasing:" ) .. " ]" ..
201
+ " dropdown[4.25 ,2.6;3.5 ;dd_antialiasing;" .. dd_options .antialiasing [1 ] .. " ;"
202
202
.. getSettingIndex .Antialiasing () .. " ]" ..
203
- " label[3.85 ,3.45;" .. fgettext (" Screen:" ) .. " ]" ..
204
- " checkbox[3.85 ,3.6;cb_autosave_screensize;" .. fgettext (" Autosave screen size" ) .. " ;"
203
+ " label[4.25 ,3.45;" .. fgettext (" Screen:" ) .. " ]" ..
204
+ " checkbox[4.25 ,3.6;cb_autosave_screensize;" .. fgettext (" Autosave screen size" ) .. " ;"
205
205
.. dump (core .settings :get_bool (" autosave_screensize" )) .. " ]" ..
206
- " box[7.75 ,0;4 ,4.5;#999999]" ..
207
- " checkbox[8,0;cb_shaders;" .. fgettext (" Shaders" ) .. " ;"
206
+ " box[8 ,0;3.75 ,4.5;#999999]" ..
207
+ " checkbox[8.25 ,0;cb_shaders;" .. fgettext (" Shaders" ) .. " ;"
208
208
.. dump (core .settings :get_bool (" enable_shaders" )) .. " ]"
209
209
210
210
if PLATFORM == " Android" then
211
211
tab_string = tab_string ..
212
- " button[8,4.75;3.75,0.5 ;btn_reset_singleplayer;"
212
+ " button[8,4.75;4.1,1 ;btn_reset_singleplayer;"
213
213
.. fgettext (" Reset singleplayer world" ) .. " ]"
214
214
else
215
215
tab_string = tab_string ..
216
- " button[8,4.85;3.75,0.5 ;btn_change_keys;"
216
+ " button[8,4.75;4,1 ;btn_change_keys;"
217
217
.. fgettext (" Change keys" ) .. " ]"
218
218
end
219
219
220
220
tab_string = tab_string ..
221
- " button[0,4.85;3.75,0.5 ;btn_advanced_settings;"
221
+ " button[0,4.75;4,1 ;btn_advanced_settings;"
222
222
.. fgettext (" Advanced Settings" ) .. " ]"
223
223
224
224
@@ -231,19 +231,19 @@ local function formspec(tabview, name, tabdata)
231
231
232
232
if core .settings :get_bool (" enable_shaders" ) then
233
233
tab_string = tab_string ..
234
- " checkbox[8,0.5;cb_bumpmapping;" .. fgettext (" Bump Mapping" ) .. " ;"
234
+ " checkbox[8.25 ,0.5;cb_bumpmapping;" .. fgettext (" Bump Mapping" ) .. " ;"
235
235
.. dump (core .settings :get_bool (" enable_bumpmapping" )) .. " ]" ..
236
- " checkbox[8,1;cb_tonemapping;" .. fgettext (" Tone Mapping" ) .. " ;"
236
+ " checkbox[8.25 ,1;cb_tonemapping;" .. fgettext (" Tone Mapping" ) .. " ;"
237
237
.. dump (core .settings :get_bool (" tone_mapping" )) .. " ]" ..
238
- " checkbox[8,1.5;cb_generate_normalmaps;" .. fgettext (" Normal Mapping" ) .. " ;"
238
+ " checkbox[8.25 ,1.5;cb_generate_normalmaps;" .. fgettext (" Normal Mapping" ) .. " ;"
239
239
.. dump (core .settings :get_bool (" generate_normalmaps" )) .. " ]" ..
240
- " checkbox[8,2;cb_parallax;" .. fgettext (" Parallax Occlusion" ) .. " ;"
240
+ " checkbox[8.25 ,2;cb_parallax;" .. fgettext (" Parallax Occlusion" ) .. " ;"
241
241
.. dump (core .settings :get_bool (" enable_parallax_occlusion" )) .. " ]" ..
242
- " checkbox[8,2.5;cb_waving_water;" .. fgettext (" Waving Water" ) .. " ;"
242
+ " checkbox[8.25 ,2.5;cb_waving_water;" .. fgettext (" Waving Water" ) .. " ;"
243
243
.. dump (core .settings :get_bool (" enable_waving_water" )) .. " ]" ..
244
- " checkbox[8,3;cb_waving_leaves;" .. fgettext (" Waving Leaves" ) .. " ;"
244
+ " checkbox[8.25 ,3;cb_waving_leaves;" .. fgettext (" Waving Leaves" ) .. " ;"
245
245
.. dump (core .settings :get_bool (" enable_waving_leaves" )) .. " ]" ..
246
- " checkbox[8,3.5;cb_waving_plants;" .. fgettext (" Waving Plants" ) .. " ;"
246
+ " checkbox[8.25 ,3.5;cb_waving_plants;" .. fgettext (" Waving Plants" ) .. " ;"
247
247
.. dump (core .settings :get_bool (" enable_waving_plants" )) .. " ]"
248
248
else
249
249
tab_string = tab_string ..
0 commit comments