[libadwaita/wip/exalm/adaptive-states: 3/7] view-switcher-button: Ellipsize horizontal labels too




commit 3a7d5a23c40e6a34b0ac2e44474feb83f899b08f
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Oct 4 13:35:03 2022 +0400

    view-switcher-button: Ellipsize horizontal labels too

 src/adw-view-switcher-button.ui | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/adw-view-switcher-button.ui b/src/adw-view-switcher-button.ui
index ba15c189..89ffbd33 100644
--- a/src/adw-view-switcher-button.ui
+++ b/src/adw-view-switcher-button.ui
@@ -39,6 +39,7 @@
               <object class="GtkLabel" id="horizontal_label">
                 <property name="label" bind-source="AdwViewSwitcherButton" bind-property="label" 
bind-flags="sync-create|bidirectional" />
                 <property name="use-underline" bind-source="AdwViewSwitcherButton" 
bind-property="use-underline" bind-flags="sync-create|bidirectional" />
+                <property name="ellipsize">end</property>
               </object>
             </child>
           </object>


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