[gnome-system-monitor/gtk3] Fixed graph jump bug caused by label changing height.



commit 8e85af65dad47f7d317c028c5cc049f58517d5e7
Author: Chris Kühl <chrisk openismus com>
Date:   Fri Feb 11 13:18:26 2011 +0100

    Fixed graph jump bug caused by label changing height.

 src/interface.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/interface.cpp b/src/interface.cpp
index f605361..be033af 100644
--- a/src/interface.cpp
+++ b/src/interface.cpp
@@ -459,7 +459,7 @@ create_sys_view (ProcData *procdata)
 			    TRUE,
 			    0);
 */
-	gtk_widget_set_size_request(GTK_WIDGET(load_graph_get_labels(net_graph)->net_in), 65, -1);
+	gtk_widget_set_size_request(GTK_WIDGET(load_graph_get_labels(net_graph)->net_in), 100, -1);
 	gtk_table_attach (GTK_TABLE (table), load_graph_get_labels(net_graph)->net_in, 2, 3, 0, 1, 
 			  static_cast<GtkAttachOptions>(GTK_EXPAND | GTK_FILL), GTK_FILL, 0, 0);
 
@@ -515,7 +515,7 @@ create_sys_view (ProcData *procdata)
 			    TRUE,
 			    0);
 */
-	gtk_widget_set_size_request(GTK_WIDGET(load_graph_get_labels(net_graph)->net_out), 65, -1);
+	gtk_widget_set_size_request(GTK_WIDGET(load_graph_get_labels(net_graph)->net_out), 100, -1);
 	gtk_table_attach (GTK_TABLE (table), load_graph_get_labels(net_graph)->net_out, 2, 3, 0, 1, 
 			  static_cast<GtkAttachOptions>(GTK_EXPAND | GTK_FILL), GTK_FILL, 0, 0);
 



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