diff options
author | infirit <[email protected]> | 2014-12-17 13:39:34 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-17 13:53:30 +0100 |
commit | f763108b93dae8d39b509067ca5ee4534e731b5d (patch) | |
tree | f33182240931810430b236003bc7cd028fefcaae | |
parent | 1e66f7902748b7aa2d19090c7d6d9adee88f5f30 (diff) | |
download | mate-system-monitor-f763108b93dae8d39b509067ca5ee4534e731b5d.tar.bz2 mate-system-monitor-f763108b93dae8d39b509067ca5ee4534e731b5d.tar.xz |
Fixed graph jump bug caused by label changing height
-rw-r--r-- | src/interface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interface.cpp b/src/interface.cpp index c51914d..96cafa7 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); |