[gnome-calculator] math-converter: Ellipsize the comboboxes



commit afd459abf32c78e76d1bfec39f2bf95a95d3acda
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Wed Mar 10 13:52:12 2021 +0100

    math-converter: Ellipsize the comboboxes

 src/ui/math-converter.ui | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/ui/math-converter.ui b/src/ui/math-converter.ui
index 8ea8ca52..c1a3b44a 100644
--- a/src/ui/math-converter.ui
+++ b/src/ui/math-converter.ui
@@ -43,7 +43,9 @@
         <property name="can_focus">False</property>
         <signal name="changed" handler="from_combobox_changed_cb" swapped="no"/>
         <child>
-          <object class="GtkCellRendererText" id="from_renderer"/>
+          <object class="GtkCellRendererText" id="from_renderer">
+            <property name="ellipsize">end</property>
+          </object>
           <attributes>
             <attribute name="text">0</attribute>
           </attributes>
@@ -61,7 +63,9 @@
         <property name="opacity">0.88</property>
         <signal name="changed" handler="to_combobox_changed_cb" swapped="no"/>
         <child>
-          <object class="GtkCellRendererText" id="to_renderer"/>
+          <object class="GtkCellRendererText" id="to_renderer">
+            <property name="ellipsize">end</property>
+          </object>
           <attributes>
             <attribute name="text">0</attribute>
           </attributes>


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