From 8e68adfc9b5cdc96404c691a35bb88bcf636f69b Mon Sep 17 00:00:00 2001 From: Heliguy Date: Fri, 27 Sep 2024 21:17:03 -0400 Subject: [PATCH] Apply better wrapping --- src/snapshot_page/snapshot_box.blp | 1 + src/snapshot_page/snapshot_page.blp | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/snapshot_page/snapshot_box.blp b/src/snapshot_page/snapshot_box.blp index 73a7207..edcfe22 100644 --- a/src/snapshot_page/snapshot_box.blp +++ b/src/snapshot_page/snapshot_box.blp @@ -14,6 +14,7 @@ template $SnapshotBox : Gtk.Box { Label title { label: _("No Name Set"); wrap: true; + wrap-mode: word_char; justify: left; halign: start; styles ["title-4"] diff --git a/src/snapshot_page/snapshot_page.blp b/src/snapshot_page/snapshot_page.blp index 2a5c42c..4361619 100644 --- a/src/snapshot_page/snapshot_page.blp +++ b/src/snapshot_page/snapshot_page.blp @@ -81,6 +81,7 @@ template $SnapshotPage : Adw.BreakpointBin { margin-start: 12; margin-end: 12; wrap: true; + wrap-mode: word_char; } Label { label: _("Snapshots of installed apps"); @@ -90,6 +91,7 @@ template $SnapshotPage : Adw.BreakpointBin { margin-end: 12; margin-bottom: 3; wrap: true; + wrap-mode: word_char; } ListBox active_listbox { styles ["navigation-sidebar"] @@ -108,6 +110,7 @@ template $SnapshotPage : Adw.BreakpointBin { margin-start: 12; margin-end: 12; wrap: true; + wrap-mode: word_char; } Label { label: _("Snapshots of apps that are no longer installed"); @@ -117,6 +120,7 @@ template $SnapshotPage : Adw.BreakpointBin { margin-end: 12; margin-bottom: 3; wrap: true; + wrap-mode: word_char; } ListBox leftover_listbox { styles ["navigation-sidebar"]