[polari/wip/fmuellner/combined-gsoc: 25/136] closer to mockup
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/fmuellner/combined-gsoc: 25/136] closer to mockup
- Date: Tue, 26 Jul 2016 23:18:05 +0000 (UTC)
commit 87c97646f33c971dda6facd0262467b6c212392e
Author: Kunaal Jain <kunaalus gmail com>
Date: Thu Jun 16 02:33:46 2016 +0530
closer to mockup
src/mainWindow.js | 21 ++++++++++++++++++---
1 files changed, 18 insertions(+), 3 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index d08103f..161336a 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -285,10 +285,15 @@ const MainWindow = new Lang.Class({
} else {
let row = new Gtk.ListBoxRow({visible: true});
let box = new Gtk.Box({
- orientation: Gtk.Orientation.VERTICAL,
+ orientation: Gtk.Orientation.HORIZONTAL,
homogeneous: false,
spacing: 0,
visible: true});
+ let box1 = new Gtk.Box({
+ orientation: Gtk.Orientation.VERTICAL,
+ homogeneous: false,
+ spacing: 0,
+ visible: true});
let label = new Gtk.Label({ label: message,
halign: Gtk.Align.START,
margin_start: 6,
@@ -305,9 +310,19 @@ const MainWindow = new Lang.Class({
ellipsize: Pango.EllipsizeMode.END,
max_width_chars: 18,
use_markup: true });
+ let label2 = new Gtk.Label({ label: "TIMESTAMP",
+ halign: Gtk.Align.START,
+ margin_start: 6,
+ margin_end: 6,
+ visible: true,
+ ellipsize: Pango.EllipsizeMode.END,
+ max_width_chars: 18,
+ use_markup: true });
box.pack_start(label1, false, true, 0);
- box.pack_start(label, false, true, 0);
- row.add(box);
+ box.pack_start(label2, false, true, 0);
+ box1.pack_start(box, false, true, 0);
+ box1.pack_start(label, false, true, 0);
+ row.add(box1);
row.uid = events[i].id;
widgetMap[uid] = row;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]