[gnome-mahjongg/arnaudb/wip/gtk4: 25/30] Adapt set_alignment.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-mahjongg/arnaudb/wip/gtk4: 25/30] Adapt set_alignment.
- Date: Wed, 5 Aug 2020 18:52:40 +0000 (UTC)
commit ae930c2a178b31aeb70154a7ff59f231e87ffb49
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 bc4c351..c91cd43 100644
--- a/src/gnome-mahjongg.vala
+++ b/src/gnome-mahjongg.vala
@@ -441,7 +441,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 ();
@@ -469,7 +469,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 ();
@@ -495,7 +495,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]