aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--src/main.rs6
2 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 57a54a4..8e104e3 100644
--- a/Makefile
+++ b/Makefile
@@ -92,6 +92,9 @@ po/%/LC_MESSAGES/systems.tranquil.Map.mo: po/%.po
# Container Images #############################################################
build-container-%:
+ifeq ($(clean_images),1)
+ podman system prune -af
+endif
@echo "=== Building container image: $(container_image_prefix):$* ==="
podman build -t $(container_image_prefix):$* build-containers/$*
diff --git a/src/main.rs b/src/main.rs
index 4feef3b..64167f4 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -549,7 +549,11 @@ impl SimpleComponent for AppModel {
#[local_ref]
source_view -> sourceview5::View {
set_expand: true,
- set_buffer: Some(&model.source)
+ set_buffer: Some(&model.source),
+ set_top_margin: 8,
+ set_bottom_margin: 8,
+ set_left_margin: 8,
+ set_right_margin: 8
}
},