gnome: allow displayed Ring ID to be ellipsized

This allows the main window width to be shrunk more.
The Ring ID displayed at the bottom is now ellipsized
if there is not enough room to display it.
However, if it is selected and copied, the entire Ring ID is still
copied to the buffer.

Issue: #73778
Change-Id: I543f549c029c3f050c31ac19afadaf3760d6952b
diff --git a/ui/ringmainwindow.ui b/ui/ringmainwindow.ui
index c7c205d..b92c110 100644
--- a/ui/ringmainwindow.ui
+++ b/ui/ringmainwindow.ui
@@ -308,9 +308,10 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="orientation">horizontal</property>
-                <property name="margin_left">25</property>
-                <property name="margin_right">25</property>
-                <property name="margin_top">5</property>
+                <property name="margin_left">10</property>
+                <property name="margin_right">10</property>
+                <property name="margin_top">10</property>
+                <property name="margin_bottom">5</property>
                 <property name="halign">center</property>
                 <child>
                   <object class="GtkLabel" id="label_your_ring_id">
@@ -323,13 +324,12 @@
                   <object class="GtkLabel" id="label_ring_id">
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
-                    <property name="xalign">0.5</property>
                     <property name="use-markup">True</property>
                     <property name="selectable">True</property>
+                    <property name="ellipsize">end</property>
                     <property name="label" translatable="yes">&lt;span fgcolor="gray"&gt;fetching Ring ID...&lt;/span&gt;</property>
                   </object>
                   <packing>
-                    <!-- <property name="expand">True</property> -->
                     <property name="fill">True</property>
                   </packing>
                 </child>