[gnome-builder] devhelp: Ellipsize Select Documentation frame header menu



commit 978985e4357d98ac1a8185b8ff84e095fbebbe1d
Author: vanadiae <vanadiae35 gmail com>
Date:   Fri Jan 1 22:13:26 2021 +0100

    devhelp: Ellipsize Select Documentation frame header menu
    
    Currently a devhelp page can't have its width reduced much because the
    "Select Documentation…" doesn't ellipsize its label so it enforces full
    button size.
    
    Since it can be inconvenient, this commit ellipsize at the end of the
    label, like a regular editor page does.

 src/plugins/devhelp/gbp-devhelp-menu-button.ui | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/devhelp/gbp-devhelp-menu-button.ui b/src/plugins/devhelp/gbp-devhelp-menu-button.ui
index 1c01dfa1e..ad20dece9 100644
--- a/src/plugins/devhelp/gbp-devhelp-menu-button.ui
+++ b/src/plugins/devhelp/gbp-devhelp-menu-button.ui
@@ -25,6 +25,7 @@
         <property name="label" translatable="yes">Select Documentation…</property>
         <property name="visible">true</property>
         <property name="xalign">0.5</property>
+        <property name="ellipsize">end</property>
       </object>
     </child>
   </template>


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