[chronojump] hpaned_contacts_graph_table.Position really in the middle on open graph & table
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] hpaned_contacts_graph_table.Position really in the middle on open graph & table
- Date: Fri, 6 Aug 2021 05:31:49 +0000 (UTC)
commit 0a14c7ca34897212bcfa3da24c758dbb92af367d
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Aug 6 07:31:23 2021 +0200
hpaned_contacts_graph_table.Position really in the middle on open graph & table
glade/app1.glade | 32 +++++++++++++++++++-------------
src/gui/app1/chronojump.cs | 3 ++-
2 files changed, 21 insertions(+), 14 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 25df8a610..76ed14335 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -7681,7 +7681,7 @@ EncoderInertialCapture</property>
</packing>
</child>
<child>
- <widget class="GtkFrame" id="frame1">
+ <widget class="GtkFrame"
id="frame_contacts_graph_table">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label_xalign">0</property>
@@ -25550,6 +25550,9 @@ Concentric</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
@@ -31861,6 +31864,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>
@@ -31897,18 +31912,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>
@@ -41186,6 +41189,9 @@ then click this button.</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 4c2231371..ed425f693 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -166,6 +166,7 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Image image_encoder_capture_finish;
[Widget] Gtk.Image image_encoder_capture_cancel;
+ [Widget] Gtk.Frame frame_contacts_graph_table;
[Widget] Gtk.HPaned hpaned_contacts_graph_table;
[Widget] Gtk.TreeView treeview_persons;
[Widget] Gtk.TreeView treeview_jumps;
@@ -3908,7 +3909,7 @@ public partial class ChronoJumpWindow
//when showing both widgets, start at the middle
if(vbox_contacts_capture_graph.Visible && notebook_results.Visible)
- hpaned_contacts_graph_table.Position =
Convert.ToInt32(hpaned_contacts_graph_table.Allocation.Width / 2.0);
+ hpaned_contacts_graph_table.Position =
Convert.ToInt32(frame_contacts_graph_table.Allocation.Width / 2.0);
if (check_contacts_capture_graph.Active || check_contacts_capture_table.Active)
hbox_contacts_capture_show_need_one.Visible = false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]