[gnome-subtitles] Fix #157 - Side bar resizes itself during video playback



commit 37f7768ba99b0f1e6cc7072906f52a09a9b35e6f
Author: Pedro Castro <pedro gnomesubtitles org>
Date:   Thu Oct 6 16:24:58 2022 +0100

    Fix #157 - Side bar resizes itself during video playback
    
    Video timings are now always monospaced.

 src/Glade/MainWindow.ui | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/src/Glade/MainWindow.ui b/src/Glade/MainWindow.ui
index 5002454..1b8f344 100644
--- a/src/Glade/MainWindow.ui
+++ b/src/Glade/MainWindow.ui
@@ -1247,10 +1247,13 @@
                             <property name="can_focus">False</property>
                             <property name="halign">start</property>
                             <property name="label">00:00:00.000</property>
+                                                       <attributes>
+                              <attribute name="font-desc" value="Monospace"/>
+                            </attributes>
                           </object>
                           <packing>
                             <property name="expand">False</property>
-                            <property name="fill">False</property>
+                            <property name="fill">True</property>
                             <property name="position">1</property>
                           </packing>
                         </child>
@@ -1276,10 +1279,13 @@
                             <property name="can_focus">False</property>
                             <property name="halign">start</property>
                             <property name="label">00:00:00.000</property>
+                                                       <attributes>
+                              <attribute name="font-desc" value="Monospace"/>
+                            </attributes>
                           </object>
                           <packing>
                             <property name="expand">False</property>
-                            <property name="fill">False</property>
+                            <property name="fill">True</property>
                             <property name="position">3</property>
                           </packing>
                         </child>


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