[libgnome-games-support/arnaudb/issue-17: 2/3] Ensure vbox orientation.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnome-games-support/arnaudb/issue-17: 2/3] Ensure vbox orientation.
- Date: Thu, 12 Mar 2020 13:08:37 +0000 (UTC)
commit f739edd6e016b482af0e465e0bb78cba3603ec24
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Fri Mar 6 11:28:21 2020 +0100
Ensure vbox orientation.
Default will change in Gtk4.
games/scores/dialog.vala | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/games/scores/dialog.vala b/games/scores/dialog.vala
index fb93b4c..ae63609 100644
--- a/games/scores/dialog.vala
+++ b/games/scores/dialog.vala
@@ -61,9 +61,11 @@ private class Dialog : Gtk.Dialog
else
headerbar.title = _("Best Times");
+ var vbox = this.get_content_area ();
+ vbox.orientation = Gtk.Orientation.VERTICAL;
+
if (!context.has_scores () && new_high_score == null)
{
- var vbox = this.get_content_area ();
vbox.spacing = 4;
vbox.border_width = 10;
vbox.valign = Gtk.Align.CENTER;
@@ -90,7 +92,6 @@ private class Dialog : Gtk.Dialog
return;
}
- var vbox = this.get_content_area ();
vbox.spacing = 20;
border_width = 10;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]