aboutsummaryrefslogtreecommitdiff
path: root/builtin/mainmenu
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2018-08-22 21:36:56 +0100
committerGitHub <noreply@github.com>2018-08-22 21:36:56 +0100
commit34f940dccae53ac62177d2555c63688fce90519d (patch)
treee5d2d7a36c50c1f2c7c8ef40fea023146dceaf08 /builtin/mainmenu
parent8516f284580a366d014f13a0bbd797da49d4df7e (diff)
downloadminetest-34f940dccae53ac62177d2555c63688fce90519d.tar.gz
minetest-34f940dccae53ac62177d2555c63688fce90519d.tar.bz2
minetest-34f940dccae53ac62177d2555c63688fce90519d.zip
Content tab: Fix clipped text in texture pack button (#7667)
Wider buttons to not clip 'Disable Texture Pack' text when using a small game window (1024x600, the default).
Diffstat (limited to 'builtin/mainmenu')
-rw-r--r--builtin/mainmenu/tab_content.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/builtin/mainmenu/tab_content.lua b/builtin/mainmenu/tab_content.lua
index 2699a7458..13af48f70 100644
--- a/builtin/mainmenu/tab_content.lua
+++ b/builtin/mainmenu/tab_content.lua
@@ -97,7 +97,7 @@ local function get_formspec(tabview, name, tabdata)
if selected_pkg.type == "mod" then
if selected_pkg.is_modpack then
retval = retval .. ";0]" ..
- "button[8.9,4.65;3,1;btn_mod_mgr_rename_modpack;" ..
+ "button[8.65,4.65;3.25,1;btn_mod_mgr_rename_modpack;" ..
fgettext("Rename") .. "]"
else
--show dependencies
@@ -128,17 +128,17 @@ local function get_formspec(tabview, name, tabdata)
if selected_pkg.type == "txp" then
if selected_pkg.enabled then
retval = retval ..
- "button[8.9,4.65;3,1;btn_mod_mgr_disable_txp;" ..
+ "button[8.65,4.65;3.25,1;btn_mod_mgr_disable_txp;" ..
fgettext("Disable Texture Pack") .. "]"
else
retval = retval ..
- "button[8.9,4.65;3,1;btn_mod_mgr_use_txp;" ..
+ "button[8.65,4.65;3.25,1;btn_mod_mgr_use_txp;" ..
fgettext("Use Texture Pack") .. "]"
end
end
end
- retval = retval .. "button[5.5,4.65;3,1;btn_mod_mgr_delete_mod;"
+ retval = retval .. "button[5.5,4.65;3.25,1;btn_mod_mgr_delete_mod;"
.. fgettext("Uninstall Package") .. "]"
end
return retval