From 59d40ad7437e933fab1cdafc062f84cc55cd6ff9 Mon Sep 17 00:00:00 2001 From: tzim Date: Thu, 4 Jun 2015 09:51:28 +0000 Subject: [PATCH] =?UTF-8?q?Colonnes=20redimensionnables=20la=20ou=20c'?= =?UTF-8?q?=C3=A9tait=20n=C3=A9cessaire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DMX-2.0/MainWindow.cs | 3 +++ DMX-2.0/SeqMacroUI.cs | 2 ++ 2 files changed, 5 insertions(+) diff --git a/DMX-2.0/MainWindow.cs b/DMX-2.0/MainWindow.cs index 54e4616..c7d3771 100644 --- a/DMX-2.0/MainWindow.cs +++ b/DMX-2.0/MainWindow.cs @@ -117,6 +117,7 @@ namespace DMX2 nomCol.Title = "Nom"; nomCol.PackStart (nomCell, true); nomCol.SetCellDataFunc (nomCell, new Gtk.TreeCellDataFunc (RenderMatriceNom)); + nomCol.Resizable = true; nomCell.Editable = true; nomCell.Edited += OnNomCellEdited; this.MatriceUI.AppendColumn (nomCol); @@ -126,6 +127,7 @@ namespace DMX2 dureeCol.Title = "Durée"; dureeCol.PackStart (dureeCell, true); dureeCol.SetCellDataFunc (dureeCell, new Gtk.TreeCellDataFunc (RenderMatriceDuree)); + dureeCol.Resizable = true; dureeCell.Editable = true; dureeCell.Edited += OnDureeCellEdited; this.MatriceUI.AppendColumn (dureeCol); @@ -162,6 +164,7 @@ namespace DMX2 seqCol.Title = seq.Name; seqCol.PackStart(seqCell, true); seqCol.SetCellDataFunc ( seqCell, new Gtk.TreeCellDataFunc(RenderMatriceSeqVal)); + seqCol.Resizable = true; seqCell.Editable = true; seqCell.Edited += OnSeqValCellEdited; seqCell.Data[seqkey] = seq; diff --git a/DMX-2.0/SeqMacroUI.cs b/DMX-2.0/SeqMacroUI.cs index 6b9e0e5..bc51f0b 100644 --- a/DMX-2.0/SeqMacroUI.cs +++ b/DMX-2.0/SeqMacroUI.cs @@ -85,6 +85,7 @@ namespace DMX2 nomCol.Title = "Nom"; nomCol.PackStart (nomCell, true); nomCol.SetCellDataFunc (nomCell, new Gtk.TreeCellDataFunc (RenderMatriceNom)); + nomCol.Resizable = true; nomCell.Editable = true; nomCell.Edited += OnNomCellEdited; effetsListe.AppendColumn (nomCol); @@ -103,6 +104,7 @@ namespace DMX2 circuitsCol.Title = "Circuits"; circuitsCol.PackStart (circuitsCell, true); circuitsCol.SetCellDataFunc (circuitsCell, new Gtk.TreeCellDataFunc (RenderMatriceCircuits)); + circuitsCol.Resizable = true; circuitsCell.Editable = true; circuitsCell.Edited += OnCircuitsCellEdited; effetsListe.AppendColumn (circuitsCol);