[chronojump] label contacts/encoder ex selected with chars limit to not break gui



commit 103d70ddd0915d3618b41ac78b332d6bcf38d294
Author: Xavier de Blas <xaviblas gmail com>
Date:   Sat Jun 13 18:13:27 2020 +0200

    label contacts/encoder ex selected with chars limit to not break gui

 glade/app1.glade | 36 ++++++++++++++++++++++--------------
 1 file changed, 22 insertions(+), 14 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 7a091654..53dabd84 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -5931,6 +5931,8 @@ EncoderInertialCapture</property>
                                                             <widget class="GtkLabel" 
id="label_contacts_exercise_selected_name">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
+                                                            <property name="ellipsize">middle</property>
+                                                            <property name="max_width_chars">20</property>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">True</property>
@@ -24059,6 +24061,9 @@ Concentric</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
@@ -25827,8 +25832,8 @@ Concentric</property>
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="label">label_enc_ex</property>
-                                                            <property name="wrap">True</property>
-                                                            <property name="wrap_mode">word-char</property>
+                                                            <property name="ellipsize">middle</property>
+                                                            <property name="max_width_chars">30</property>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
@@ -26903,6 +26908,18 @@ Concentric</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">6</property>
                                                             <child>
+                                                            <widget class="GtkLabel" 
id="label_video_encoder_tests_will_be_filmed">
+                                                            <property name="can_focus">False</property>
+                                                            <property name="label" translatable="yes">Tests 
will be filmed</property>
+                                                            </widget>
+                                                            <packing>
+                                                            <property name="expand">False</property>
+                                                            <property name="fill">False</property>
+                                                            <property name="pack_type">end</property>
+                                                            <property name="position">0</property>
+                                                            </packing>
+                                                            </child>
+                                                            <child>
                                                             <widget class="GtkHBox" 
id="hbox_video_encoder_capturing">
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">4</property>
@@ -26939,18 +26956,6 @@ Concentric</property>
                                                             </packing>
                                                             </child>
                                                             <child>
-                                                            <widget class="GtkLabel" 
id="label_video_encoder_tests_will_be_filmed">
-                                                            <property name="can_focus">False</property>
-                                                            <property name="label" translatable="yes">Tests 
will be filmed</property>
-                                                            </widget>
-                                                            <packing>
-                                                            <property name="expand">False</property>
-                                                            <property name="fill">False</property>
-                                                            <property name="pack_type">end</property>
-                                                            <property name="position">0</property>
-                                                            </packing>
-                                                            </child>
-                                                            <child>
                                                             <widget class="GtkHBox" 
id="hbox_video_encoder_no_capturing">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
@@ -34853,6 +34858,9 @@ then click this button.</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>


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