[iagno] Fix previous commit.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [iagno] Fix previous commit.
- Date: Sun, 4 Aug 2019 09:03:35 +0000 (UTC)
commit 05cb31ee7797d34d80af7d03cf144cc143566895
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Sun Aug 4 11:03:03 2019 +0200
Fix previous commit.
Was working for Reversi,
but causing some drawing
failures for TaquinView.
src/game-view.vala | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/game-view.vala b/src/game-view.vala
index 4dbd6c3..6722771 100644
--- a/src/game-view.vala
+++ b/src/game-view.vala
@@ -72,13 +72,15 @@ private class GameView : BaseView, AdaptativeWidget
game_content = content;
game_box = new Box (Orientation.HORIZONTAL, 0);
+ game_content.hexpand = true;
+ game_content.vexpand = true;
+ game_content.show ();
game_box.add (game_content);
game_box.show ();
game_box.get_style_context ().add_class ("game-box");
game_stack.add (game_box);
content.can_focus = true;
- content.show ();
}
internal void show_new_game_box (bool grab_focus)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]