mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 01:05:48 +01:00 
			
		
		
		
	Advanced settings menu: Centre setting edit box (#7778)
This commit is contained in:
		@@ -704,7 +704,7 @@ local function create_change_setting_formspec(dialogdata)
 | 
			
		||||
				text = dialogdata.entered_text
 | 
			
		||||
			end
 | 
			
		||||
		end
 | 
			
		||||
		formspec = formspec .. "field[0.5,4;" .. width .. ",1;te_setting_value;;"
 | 
			
		||||
		formspec = formspec .. "field[0.28,4;" .. width .. ",1;te_setting_value;;"
 | 
			
		||||
				.. core.formspec_escape(text) .. "]"
 | 
			
		||||
	end
 | 
			
		||||
	return formspec
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user