[meld] filediff: Make file labels ellipsize (#419)



commit 40eee258182ca93f0e76476a16054795f0e0654e
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Feb 16 08:22:16 2020 +1000

    filediff: Make file labels ellipsize (#419)
    
    We still need a better widget for these labels, but in the meantime they
    should ellipsize so as not to dictate minimum window width.

 meld/resources/ui/filediff.ui | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/meld/resources/ui/filediff.ui b/meld/resources/ui/filediff.ui
index aa0ad38d..f9950ae6 100644
--- a/meld/resources/ui/filediff.ui
+++ b/meld/resources/ui/filediff.ui
@@ -70,6 +70,7 @@
                     <property name="can_focus">False</property>
                     <property name="label" translatable="yes">File 3</property>
                     <property name="xalign">0</property>
+                    <property name="ellipsize">PANGO_ELLIPSIZE_MIDDLE</property>
                   </object>
                 </child>
               </object>
@@ -135,6 +136,7 @@
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="label" translatable="yes">File 2</property>
+                    <property name="ellipsize">PANGO_ELLIPSIZE_MIDDLE</property>
                     <property name="xalign">0</property>
                   </object>
                 </child>
@@ -197,6 +199,7 @@
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="label" translatable="yes">File 1</property>
+                    <property name="ellipsize">PANGO_ELLIPSIZE_MIDDLE</property>
                     <property name="xalign">0</property>
                   </object>
                 </child>


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