From 27c0c2764cae8a2415d18ef608c0e7bab719ab28 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 14 May 2020 21:52:30 +0200 Subject: [PATCH] Resize slice edit buttons --- init.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/init.lua b/init.lua index ac1f2d7..14301b2 100644 --- a/init.lua +++ b/init.lua @@ -468,19 +468,19 @@ schemedit.add_form("slice", { end if not self.panel_edit then - form = form.."button[0,6;2,1;add;"..F(S("+ Add slice")).."]" + form = form.."button[0,6;2.4,1;add;"..F(S("+ Add slice")).."]" end if slices ~= "" and self.selected and not self.panel_add then if not self.panel_edit then form = form..[[ - button[2,6;2,1;remove;]]..F(S("- Remove slice"))..[[] - button[4,6;2,1;edit;]]..F(S("+/- Edit slice"))..[[] + button[2.4,6;2.4,1;remove;]]..F(S("- Remove slice"))..[[] + button[4.8,6;2.4,1;edit;]]..F(S("+/- Edit slice"))..[[] ]] else form = form..[[ - button[2,6;2,1;remove;]]..F(S("- Remove slice"))..[[] - button[4,6;2,1;edit;]]..F(S("+/- Edit slice"))..[[] + button[2.4,6;2.4,1;remove;]]..F(S("- Remove slice"))..[[] + button[4.8,6;2.4,1;edit;]]..F(S("+/- Edit slice"))..[[] ]] end end -- 2.11.4.GIT