[gnome-mahjongg/arnaudb/wip/gtk4: 19/29] Adapt set_alignment.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-mahjongg/arnaudb/wip/gtk4: 19/29] Adapt set_alignment.
- Date: Fri, 9 Oct 2020 15:35:06 +0000 (UTC)
commit ac3505f474d83ea7d8b34a7ce4ef42370c816ed5
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Fri Mar 27 19:54:48 2020 +0100
Adapt set_alignment.
src/gnome-mahjongg.vala | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-mahjongg.vala b/src/gnome-mahjongg.vala
index f3da7fd..f767432 100644
--- a/src/gnome-mahjongg.vala
+++ b/src/gnome-mahjongg.vala
@@ -448,7 +448,7 @@ public class Mahjongg : Gtk.Application
grid.set_column_spacing (18);
var label = new Gtk.Label.with_mnemonic (_("_Theme:"));
- label.set_alignment (0, 0.5f);
+ label.halign = Gtk.Align.START;
grid.attach (label, 0, 0, 1, 1);
var themes = load_themes ();
@@ -476,7 +476,7 @@ public class Mahjongg : Gtk.Application
label.set_mnemonic_widget (theme_combo);
label = new Gtk.Label.with_mnemonic (_("_Layout:"));
- label.set_alignment (0, 0.5f);
+ label.halign = Gtk.Align.START;
grid.attach (label, 0, 1, 1, 1);
var map_combo = new Gtk.ComboBox ();
@@ -502,7 +502,7 @@ public class Mahjongg : Gtk.Application
label.set_mnemonic_widget (map_combo);
label = new Gtk.Label.with_mnemonic (_("_Background color:"));
- label.set_alignment (0, 0.5f);
+ label.halign = Gtk.Align.START;
grid.attach (label, 0, 2, 1, 1);
var widget = new Gtk.ColorButton ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]