[iagno] Use an AspectFrame to ensure all looks good.
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [iagno] Use an AspectFrame to ensure all looks good.
- Date: Mon, 21 Jul 2014 14:13:38 +0000 (UTC)
commit 95879388e82f7f7cb5686020c2cc15316e466319
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Jul 21 14:16:31 2014 +0200
Use an AspectFrame to ensure all looks good.
https://bugzilla.gnome.org/show_bug.cgi?id=733502
src/iagno.vala | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/iagno.vala b/src/iagno.vala
index 0fdc0cb..223c47e 100644
--- a/src/iagno.vala
+++ b/src/iagno.vala
@@ -127,10 +127,15 @@ public class Iagno : Gtk.Application
headerbar.show ();
window.set_titlebar (headerbar);
+ var frame = new Gtk.AspectFrame (null, (float) 0.5, (float) 0.5, (float) 1.4, false);
+ frame.shadow_type = Gtk.ShadowType.NONE;
+ frame.show ();
+ window.add (frame);
+
var hbox = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 0);
hbox.halign = Gtk.Align.CENTER;
hbox.show ();
- window.add (hbox);
+ frame.add (hbox);
view = new GameView ();
view.game = game;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]