[longomatch] Increase timeline labels a to 200px
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Increase timeline labels a to 200px
- Date: Tue, 28 Oct 2014 09:47:59 +0000 (UTC)
commit b37933410ddd55f4f8c9778801977050fe65a8d8
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Thu Oct 16 02:16:59 2014 +0200
Increase timeline labels a to 200px
LongoMatch.Core/StyleConf.cs | 2 +-
LongoMatch.GUI/Gui/Component/Timeline.cs | 2 +-
.../gtk-gui/LongoMatch.Gui.Component.Timeline.cs | 28 ++++++++++----------
LongoMatch.GUI/gtk-gui/gui.stetic | 2 +-
4 files changed, 17 insertions(+), 17 deletions(-)
---
diff --git a/LongoMatch.Core/StyleConf.cs b/LongoMatch.Core/StyleConf.cs
index 9f25f8e..84508bf 100644
--- a/LongoMatch.Core/StyleConf.cs
+++ b/LongoMatch.Core/StyleConf.cs
@@ -67,7 +67,7 @@ namespace LongoMatch.Core.Common
public const string TimelineNeedleResource =
"hicolor/scalable/actions/longomatch-timeline-needle-big.svg";
public const string TimelineNeedleUP =
"hicolor/scalable/actions/longomatch-timeline-needle-up.svg";
public const int TimelineCategoryHeight = 20;
- public const int TimelineLabelsWidth = 150;
+ public const int TimelineLabelsWidth = 200;
public const int TimelineLabelHSpacing = 10;
public const int TimelineLabelVSpacing = 2;
public const int TimelineLineSize = 6;
diff --git a/LongoMatch.GUI/Gui/Component/Timeline.cs b/LongoMatch.GUI/Gui/Component/Timeline.cs
index 091ab25..eea9207 100644
--- a/LongoMatch.GUI/Gui/Component/Timeline.cs
+++ b/LongoMatch.GUI/Gui/Component/Timeline.cs
@@ -58,7 +58,7 @@ namespace LongoMatch.Gui.Component
focusscale.Adjustment.Upper = 12;
focusscale.ValueChanged += HandleValueChanged;
timerulearea.HeightRequest = LongoMatch.Drawing.Constants.TIMERULE_HEIGHT;
- labelsarea.WidthRequest = StyleConf.TimelineCategoryHeight;
+ leftbox.WidthRequest = StyleConf.TimelineLabelsWidth;
hbox1.HeightRequest = LongoMatch.Drawing.Constants.TIMERULE_HEIGHT;
scrolledwindow1.Vadjustment.ValueChanged += HandleScrollEvent;
scrolledwindow1.Hadjustment.ValueChanged += HandleScrollEvent;
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.Timeline.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.Timeline.cs
index 3db396a..3657a61 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.Timeline.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.Timeline.cs
@@ -5,7 +5,7 @@ namespace LongoMatch.Gui.Component
public partial class Timeline
{
private global::Gtk.HBox hbox1;
- private global::Gtk.VBox vbox4;
+ private global::Gtk.VBox leftbox;
private global::Gtk.HBox hbox2;
private global::Gtk.Button focusbutton;
private global::Gtk.Image focusbuttonimage;
@@ -29,9 +29,9 @@ namespace LongoMatch.Gui.Component
this.hbox1 = new global::Gtk.HBox ();
this.hbox1.Name = "hbox1";
// Container child hbox1.Gtk.Box+BoxChild
- this.vbox4 = new global::Gtk.VBox ();
- this.vbox4.Name = "vbox4";
- // Container child vbox4.Gtk.Box+BoxChild
+ this.leftbox = new global::Gtk.VBox ();
+ this.leftbox.Name = "leftbox";
+ // Container child leftbox.Gtk.Box+BoxChild
this.hbox2 = new global::Gtk.HBox ();
this.hbox2.HeightRequest = 30;
this.hbox2.Name = "hbox2";
@@ -47,18 +47,18 @@ namespace LongoMatch.Gui.Component
this.hbox2.Add (this.focusbutton);
global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2
[this.focusbutton]));
w2.Position = 0;
- this.vbox4.Add (this.hbox2);
- global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox2]));
+ this.leftbox.Add (this.hbox2);
+ global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.hbox2]));
w3.Position = 0;
w3.Expand = false;
w3.Fill = false;
- // Container child vbox4.Gtk.Box+BoxChild
+ // Container child leftbox.Gtk.Box+BoxChild
this.labelsarea = new global::Gtk.DrawingArea ();
this.labelsarea.Name = "labelsarea";
- this.vbox4.Add (this.labelsarea);
- global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox4
[this.labelsarea]));
+ this.leftbox.Add (this.labelsarea);
+ global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.leftbox
[this.labelsarea]));
w4.Position = 1;
- // Container child vbox4.Gtk.Box+BoxChild
+ // Container child leftbox.Gtk.Box+BoxChild
this.hbox3 = new global::Gtk.HBox ();
this.hbox3.Name = "hbox3";
this.hbox3.Spacing = 6;
@@ -96,13 +96,13 @@ namespace LongoMatch.Gui.Component
w7.Position = 2;
w7.Expand = false;
w7.Fill = false;
- this.vbox4.Add (this.hbox3);
- global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox3]));
+ this.leftbox.Add (this.hbox3);
+ global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.hbox3]));
w8.Position = 2;
w8.Expand = false;
w8.Fill = false;
- this.hbox1.Add (this.vbox4);
- global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox4]));
+ this.hbox1.Add (this.leftbox);
+ global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.leftbox]));
w9.Position = 0;
w9.Expand = false;
w9.Fill = false;
diff --git a/LongoMatch.GUI/gtk-gui/gui.stetic b/LongoMatch.GUI/gtk-gui/gui.stetic
index be752c1..3dc2c82 100644
--- a/LongoMatch.GUI/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI/gtk-gui/gui.stetic
@@ -10188,7 +10188,7 @@ You can continue with the current capture, cancel it or save your project.
<widget class="Gtk.HBox" id="hbox1">
<property name="MemberName" />
<child>
- <widget class="Gtk.VBox" id="vbox4">
+ <widget class="Gtk.VBox" id="leftbox">
<property name="MemberName" />
<child>
<widget class="Gtk.HBox" id="hbox2">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]