From 855c7d8ee3c04133b830578449c8515ca716f4d4 Mon Sep 17 00:00:00 2001 From: Gaspar Capello Date: Mon, 11 Feb 2019 18:41:38 -0300 Subject: [PATCH] Improved import sprite sheet dialog (from #1987) --- data/pref.xml | 1 + data/strings/en.ini | 2 +- data/widgets/import_sprite_sheet.xml | 9 +-- src/app/commands/cmd_import_sprite_sheet.cpp | 63 +++++++++++++++++--- src/app/ui/editor/select_box_state.cpp | 14 +++++ 5 files changed, 74 insertions(+), 15 deletions(-) diff --git a/data/pref.xml b/data/pref.xml index f7d4f1e34..ce8227342 100644 --- a/data/pref.xml +++ b/data/pref.xml @@ -443,6 +443,7 @@
diff --git a/data/strings/en.ini b/data/strings/en.ini index 1a0cdde1d..c46aeb8a1 100644 --- a/data/strings/en.ini +++ b/data/strings/en.ini @@ -630,7 +630,7 @@ x = X: y = Y: width = Width: height = Height: -padding = Padding: +padding = Padding horizontal_padding = Horizontal: vertical_padding = Vertical: partial_tiles = Include partial tiles at bottom/right edges diff --git a/data/widgets/import_sprite_sheet.xml b/data/widgets/import_sprite_sheet.xml index d73517fe1..7757fa353 100644 --- a/data/widgets/import_sprite_sheet.xml +++ b/data/widgets/import_sprite_sheet.xml @@ -24,15 +24,12 @@