[iagno] Window layout tweaks
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [iagno] Window layout tweaks
- Date: Mon, 21 Jul 2014 03:16:42 +0000 (UTC)
commit c62ea29c7bda4e237c7ca06df07f55bf03dc1c91
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Jul 20 22:11:25 2014 -0500
Window layout tweaks
Still too much empty space on the right
src/game-view.vala | 2 ++
src/iagno.vala | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/game-view.vala b/src/game-view.vala
index 4c06d80..17b65bd 100644
--- a/src/game-view.vala
+++ b/src/game-view.vala
@@ -62,6 +62,8 @@ public class GameView : Gtk.DrawingArea
{
set_events (Gdk.EventMask.EXPOSURE_MASK | Gdk.EventMask.BUTTON_PRESS_MASK);
pixmaps = new int[8,8];
+
+ set_size_request (350, 350);
}
private Game? _game = null;
diff --git a/src/iagno.vala b/src/iagno.vala
index 4f88059..c3108a6 100644
--- a/src/iagno.vala
+++ b/src/iagno.vala
@@ -129,6 +129,7 @@ public class Iagno : Gtk.Application
window.set_titlebar (headerbar);
var hbox = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 0);
+ hbox.halign = Gtk.Align.CENTER;
hbox.show ();
window.add (hbox);
@@ -145,6 +146,7 @@ public class Iagno : Gtk.Application
hbox.pack_start (side_box, true, true, 20);
var grid = new Gtk.Grid ();
+ grid.halign = Gtk.Align.CENTER;
grid.vexpand = true;
grid.hexpand = true;
grid.set_column_spacing (8);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]