From 12dd99a254464821b98ea4f854333ef97d47a305 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 20 Oct 2023 20:46:19 +0200 Subject: [PATCH] packages/textpieces: init patched --- packages/patched-derivations.nix | 2 ++ patches/base/textpieces/GHPR_138.patch | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 patches/base/textpieces/GHPR_138.patch diff --git a/packages/patched-derivations.nix b/packages/patched-derivations.nix index 15c08fc..f21413a 100644 --- a/packages/patched-derivations.nix +++ b/packages/patched-derivations.nix @@ -42,4 +42,6 @@ super: rec { tilix-high-refresh-rate = super.tilix.override { gtkd = super.gtkd.override { vte = vte-high-refresh-rate; }; }; blackbox-high-refresh-rate = super.blackbox-terminal.override { vte-gtk4 = vte-gtk4-high-refresh-rate; }; + + textpieces = patch' (super.textpieces.overrideAttrs { meta.broken = false; }); } diff --git a/patches/base/textpieces/GHPR_138.patch b/patches/base/textpieces/GHPR_138.patch new file mode 100644 index 0000000..31a3fdf --- /dev/null +++ b/patches/base/textpieces/GHPR_138.patch @@ -0,0 +1,26 @@ +diff --git a/resources/ui/Editor.blp b/resources/ui/Editor.blp +index b98edc7..5c3f993 100644 +--- a/resources/ui/Editor.blp ++++ b/resources/ui/Editor.blp +@@ -42,7 +42,7 @@ template TextPiecesEditor : Adw.Bin { + hexpand: false; + width-request: 300; + margin-top: 5; +- margin-bottom: 2.5; ++ margin-bottom: 3; + margin-start: 5; + margin-end: 10; + spacing: 3; +diff --git a/resources/ui/SearchBar.blp b/resources/ui/SearchBar.blp +index d810558..b7d9232 100644 +--- a/resources/ui/SearchBar.blp ++++ b/resources/ui/SearchBar.blp +@@ -15,7 +15,7 @@ template TextPiecesSearchBar : Adw.Bin { + ] + + margin-top: 5; +- margin-bottom: 2.5; ++ margin-bottom: 3; + margin-start: 5; + margin-end: 10; + row-spacing: 6;