[chronojump] Minor gui changes on forceSensor, runEncoder



commit 2bc5719f7ca29adfeff8dce761f1672c5ce9ee2b
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Dec 11 16:55:21 2019 +0100

    Minor gui changes on forceSensor, runEncoder

 glade/app1.glade       | 17 +++++++++++++++--
 src/gui/forceSensor.cs |  3 +--
 src/gui/runEncoder.cs  |  4 ++--
 3 files changed, 18 insertions(+), 6 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index ded944ce..0c06f1d7 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -15153,10 +15153,13 @@ EncoderInertialCapture</property>
                                                             </packing>
                                                             </child>
                                                             <child>
-                                                            <widget class="GtkHBox" 
id="hbox_run_encoder_capture_options">
+                                                            <widget class="GtkVBox" 
id="vbox_run_encoder_capture_options">
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">False</property>
+                                                            <child>
+                                                            <widget class="GtkHBox" id="hbox161">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
-                                                            <property name="spacing">20</property>
                                                             <child>
                                                             <widget class="GtkComboBox" 
id="combo_race_analyzer_device">
                                                             <property name="visible">True</property>
@@ -15172,6 +15175,14 @@ Resisted race analyzer</property>
                                                             <property name="position">0</property>
                                                             </packing>
                                                             </child>
+                                                            </widget>
+                                                            <packing>
+                                                            <property name="expand">False</property>
+                                                            <property name="fill">False</property>
+                                                            <property name="padding">5</property>
+                                                            <property name="position">0</property>
+                                                            </packing>
+                                                            </child>
                                                             <child>
                                                             <widget class="GtkHBox" 
id="hbox_race_analyzer_distance">
                                                             <property name="visible">True</property>
@@ -15226,6 +15237,7 @@ Resisted race analyzer</property>
                                                             <packing>
                                                             <property name="expand">False</property>
                                                             <property name="fill">False</property>
+                                                            <property name="padding">5</property>
                                                             <property name="position">1</property>
                                                             </packing>
                                                             </child>
@@ -15283,6 +15295,7 @@ Resisted race analyzer</property>
                                                             <packing>
                                                             <property name="expand">False</property>
                                                             <property name="fill">False</property>
+                                                            <property name="padding">5</property>
                                                             <property name="position">2</property>
                                                             </packing>
                                                             </child>
diff --git a/src/gui/forceSensor.cs b/src/gui/forceSensor.cs
index f217c127..4cb96558 100644
--- a/src/gui/forceSensor.cs
+++ b/src/gui/forceSensor.cs
@@ -77,7 +77,6 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.RadioButton radio_force_sensor_laterality_both;
        [Widget] Gtk.RadioButton radio_force_sensor_laterality_l;
        [Widget] Gtk.RadioButton radio_force_sensor_laterality_r;
-       [Widget] Gtk.HBox hbox_force_sensor_lat_and_comments;
        [Widget] Gtk.HBox hbox_force_sensor_adjust_actions;
        [Widget] Gtk.Button button_force_sensor_tare;
        [Widget] Gtk.Button button_force_sensor_calibrate;
@@ -429,7 +428,7 @@ public partial class ChronoJumpWindow
        {
                //force related buttons
                hbox_force_capture_buttons.Sensitive = sensitive;
-               hbox_force_sensor_lat_and_comments.Sensitive = sensitive;
+               button_contacts_exercise.Sensitive = sensitive;
                button_execute_test.Sensitive = sensitive;
                button_force_sensor_analyze_load.Sensitive = sensitive;
                hbox_contacts_camera.Sensitive = sensitive;
diff --git a/src/gui/runEncoder.cs b/src/gui/runEncoder.cs
index 45241fa4..90581fb3 100644
--- a/src/gui/runEncoder.cs
+++ b/src/gui/runEncoder.cs
@@ -38,7 +38,7 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.CheckMenuItem menuitem_check_race_encoder_capture_simulate;
 
        [Widget] Gtk.VBox vbox_run_encoder_capture_buttons;
-       [Widget] Gtk.HBox hbox_run_encoder_capture_options;
+       [Widget] Gtk.VBox vbox_run_encoder_capture_options;
        [Widget] Gtk.HBox hbox_combo_run_encoder_exercise;
        [Widget] Gtk.ComboBox combo_run_encoder_exercise;
        [Widget] Gtk.SpinButton race_analyzer_spinbutton_distance;
@@ -1172,7 +1172,7 @@ LogB.Information(" re R ");
        {
                //runEncoder related buttons
                vbox_run_encoder_capture_buttons.Sensitive = sensitive;
-               hbox_run_encoder_capture_options.Sensitive = sensitive;
+               vbox_run_encoder_capture_options.Sensitive = sensitive;
                button_execute_test.Sensitive = sensitive;
 
                hbox_contacts_camera.Sensitive = sensitive;


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