[gnome-klotski] Set minimum size for PuzzleView widget
- From: John Cheetham <jcheetham src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-klotski] Set minimum size for PuzzleView widget
- Date: Wed, 14 Nov 2012 16:41:29 +0000 (UTC)
commit 848c6a2e598ca60abac02a9391e57554738d1260
Author: John Cheetham <developer johncheetham com>
Date: Wed Nov 14 16:07:12 2012 +0000
Set minimum size for PuzzleView widget
Minimum size has been set to MINWIDTH, MINHEIGHT so it behaves the same
as the old C version.
src/gnome-klotski.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-klotski.vala b/src/gnome-klotski.vala
index b05dedd..12a1ff9 100644
--- a/src/gnome-klotski.vala
+++ b/src/gnome-klotski.vala
@@ -632,6 +632,7 @@ public class Klotski : Gtk.Application
vbox.pack_start (toolbar, false, false, 0);
view = new PuzzleView ();
+ view.set_size_request (MINWIDTH, MINHEIGHT);
view.show ();
vbox.pack_start (view, true, true, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]