[chronojump] on run simple, Start/End labels on top graph fit ok now



commit 52c6ec0a355fbdd68f2b764cef1ecdf3698a8695
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Oct 19 11:49:23 2020 +0200

    on run simple, Start/End labels on top graph fit ok now

 glade/app1.glade        | 30 ++++++++++++++++++------------
 src/gui/eventExecute.cs |  4 ++--
 2 files changed, 20 insertions(+), 14 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index a294892d..18c2ce97 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -25026,6 +25026,9 @@ Concentric</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
@@ -27882,18 +27885,6 @@ 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>
@@ -27930,6 +27921,18 @@ 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>
@@ -36015,6 +36018,9 @@ then click this button.</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
diff --git a/src/gui/eventExecute.cs b/src/gui/eventExecute.cs
index 6dadc64e..ded646a2 100644
--- a/src/gui/eventExecute.cs
+++ b/src/gui/eventExecute.cs
@@ -2154,7 +2154,7 @@ public partial class ChronoJumpWindow
                        layoutMid_run_simple.SetMarkup("Start");
                        layoutMid_run_simple.GetPixelSize(out lWidth, out lHeight);
                        pixmap.DrawLayout (pen_azul,
-                                       xStart2 -lWidth/2, 0 - lHeight/4, layoutMid_run_simple);
+                                       xStart2 -lWidth/2, 0, layoutMid_run_simple);
                }
 
                if(drawEnd)
@@ -2167,7 +2167,7 @@ public partial class ChronoJumpWindow
                        layoutMid_run_simple.SetMarkup("End");
                        layoutMid_run_simple.GetPixelSize(out lWidth, out lHeight);
                        pixmap.DrawLayout (pen_azul,
-                                       xEnd2 -lWidth/2, 0 - lHeight/4, layoutMid_run_simple);
+                                       xEnd2 -lWidth/2, 0, layoutMid_run_simple);
                }
        }
 


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