[gnome-usage] Added Memory Header label
- From: Petr Štětka <pstetka src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-usage] Added Memory Header label
- Date: Mon, 25 Mar 2019 10:51:56 +0000 (UTC)
commit 7012ee75afbec32fe4b613a5cc20ba6d7c177d81
Author: Yash Yadav <yashdimpu gmail com>
Date: Mon Mar 18 18:53:51 2019 +0530
Added Memory Header label
src/memory-sub-view.vala | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/src/memory-sub-view.vala b/src/memory-sub-view.vala
index 0a6ef14..a24a4a8 100644
--- a/src/memory-sub-view.vala
+++ b/src/memory-sub-view.vala
@@ -29,6 +29,11 @@ namespace Usage
{
name = "MEMORY";
+ var label = new Gtk.Label("<span font_desc=\"14.0\">" + _("Memory") + "</span>");
+ label.set_use_markup(true);
+ label.margin_top = 25;
+ label.margin_bottom = 15;
+
process_list_box = new ProcessListBox(ProcessListBoxType.MEMORY);
process_list_box.margin_bottom = 20;
process_list_box.margin_top = 30;
@@ -51,6 +56,7 @@ namespace Usage
var memory_box = new Gtk.Box(Gtk.Orientation.VERTICAL, 0);
memory_box.halign = Gtk.Align.CENTER;
+ memory_box.pack_start(label, false, false, 0);
memory_box.pack_start(speedometers, false, false, 0);
memory_box.pack_start(spinner, true, true, 0);
memory_box.add(no_process_view);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]