[chronojump] Encoder analyze better height of first row and select button with icon
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Encoder analyze better height of first row and select button with icon
- Date: Mon, 15 Jul 2019 10:38:28 +0000 (UTC)
commit 45f8c3a9d4133768ef8ebd330977ba48698a98d7
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Jul 15 12:37:51 2019 +0200
Encoder analyze better height of first row and select button with icon
glade/app1.glade | 56 ++++++++++++++++++++++++++++++++++++++--------
src/Makefile.am | 1 +
src/gui/chronojumpIcons.cs | 3 +++
3 files changed, 51 insertions(+), 9 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index a1589e36..33ab886a 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -1971,6 +1971,9 @@
<placeholder/>
</child>
<child>
+ <placeholder/>
+ </child>
+ <child>
<widget class="GtkLabel"
id="label_start_selector_jumps">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -21207,6 +21210,9 @@ Concentric</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
@@ -25896,7 +25902,7 @@ then click this button.</property>
<property name="n_rows">2</property>
<property name="n_columns">2</property>
<property name="column_spacing">12</property>
- <property name="row_spacing">6</property>
+ <property name="row_spacing">8</property>
<child>
<widget class="GtkLabel" id="label87">
<property name="visible">True</property>
@@ -25906,12 +25912,10 @@ then click this button.</property>
</widget>
<packing>
<property name="x_options">GTK_FILL</property>
- <property name="y_options"/>
</packing>
</child>
<child>
<widget class="GtkHBox"
id="hbox_encoder_analyze_signal_or_curves">
- <property name="height_request">30</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">20</property>
@@ -26018,7 +26022,7 @@ then click this button.</property>
</widget>
<packing>
<property name="expand">False</property>
- <property name="fill">False</property>
+ <property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
@@ -26034,7 +26038,7 @@ then click this button.</property>
<property name="label"
translatable="yes">Current set</property>
</widget>
<packing>
- <property name="expand">True</property>
+ <property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
@@ -26061,7 +26065,7 @@ then click this button.</property>
<property name="label" translatable="yes">Load
another set</property>
</widget>
<packing>
- <property name="expand">True</property>
+ <property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
@@ -26071,7 +26075,7 @@ then click this button.</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property
name="stock">gtk-missing-image</property>
- <property name="icon-size">1</property>
+ <property name="icon-size">2</property>
</widget>
<packing>
<property name="expand">False</property>
@@ -26202,11 +26206,42 @@ then click this button.</property>
</child>
<child>
<widget class="GtkButton"
id="button_encoder_analyze_data_select_curves">
- <property name="label"
translatable="yes">Select</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<signal name="clicked"
handler="on_button_encoder_analyze_data_select_curves_clicked" swapped="no"/>
+ <child>
+ <widget class="GtkHBox" id="hbox285">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="spacing">6</property>
+ <child>
+ <widget class="GtkLabel" id="label404">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label"
translatable="yes">Select</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkImage"
id="image_encoder_analyze_check">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property
name="stock">gtk-missing-image</property>
+ <property name="icon-size">2</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
@@ -27265,7 +27300,7 @@ then click this button.</property>
<property name="n_rows">2</property>
<property name="n_columns">2</property>
<property name="column_spacing">12</property>
- <property name="row_spacing">6</property>
+ <property name="row_spacing">8</property>
<child>
<widget class="GtkLabel" id="label350">
<property name="visible">True</property>
@@ -29947,6 +29982,9 @@ then click this button.</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
diff --git a/src/Makefile.am b/src/Makefile.am
index 04e4f434..5843201f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -471,6 +471,7 @@ RESOURCES = \
../images/md/baseline_warning_blue_24dp.png,image_warning_blue.png \
../images/md/baseline_warning_red_24dp.png,image_warning_red.png \
../images/md/baseline_mail_outline_blue_24dp.png,image_email.png \
+ ../images/md/baseline_check_box_blue_24dp.png,image_check.png \
../images/chronojump_icon.png,chronojump_icon.png \
../images/chronojump_icon_graph.png,chronojump_icon_graph.png \
../images/stock_right.png,stock_right.png \
diff --git a/src/gui/chronojumpIcons.cs b/src/gui/chronojumpIcons.cs
index f28519da..4b519fbe 100644
--- a/src/gui/chronojumpIcons.cs
+++ b/src/gui/chronojumpIcons.cs
@@ -128,6 +128,7 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Image image_encoder_analyze_cancel;
[Widget] Gtk.Image image_encoder_analyze_image_compujump_send_email_image;
[Widget] Gtk.Image image_encoder_analyze_image_compujump_send_email_send;
+ [Widget] Gtk.Image image_encoder_analyze_check;
//force sensor
[Widget] Gtk.Image image_selector_start_force_sensor;
@@ -679,6 +680,8 @@ public partial class ChronoJumpWindow
pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_encoder_triggers.png");
image_encoder_triggers.Pixbuf = pixbuf;
+ pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_check.png");
+ image_encoder_analyze_check.Pixbuf = pixbuf;
//auto mode
pixbuf = new Pixbuf (null, Util.GetImagePath(false) + Constants.FileNameAutoPersonSkipIcon);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]