[nautilus] properties: Wrap filename by words and characters



commit 2a770c9efc521648370bc832fbacabfe2595668b
Author: anarchistcat <anarchistcat riseup net>
Date:   Sun Aug 7 19:55:28 2022 +0200

    properties: Wrap filename by words and characters
    
    Wrap the filename using PANGO_WRAP_WORD_CHAR to ensure long filenames without spaces wrap properly.
    
    Fixes #2411

 src/resources/ui/nautilus-properties-window.ui | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/resources/ui/nautilus-properties-window.ui b/src/resources/ui/nautilus-properties-window.ui
index f137651b0..a1496327f 100644
--- a/src/resources/ui/nautilus-properties-window.ui
+++ b/src/resources/ui/nautilus-properties-window.ui
@@ -95,6 +95,7 @@
                                     <property name="ellipsize">end</property>
                                     <property name="max-width-chars">24</property>
                                     <property name="wrap">true</property>
+                                    <property name="wrap-mode">PANGO_WRAP_WORD_CHAR</property>
                                     <property name="lines">3</property>
                                     <property name="justify">center</property>
                                     <style>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]