diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-06-26 02:30:31 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2019-06-30 23:42:44 +0100 |
commit | a39bbb204100fa8f6800cb405cf0057bf6d2b324 (patch) | |
tree | 22b41f6a534e94bc2522073eec2ec60e83ce14bb /gtk/gtkconstraintlayout.c | |
parent | 176d9c6baf1ea0fbb235b64c5bb6cc5039dfdfaa (diff) | |
download | gtk+-a39bbb204100fa8f6800cb405cf0057bf6d2b324.tar.gz |
constraints: Make internal consistency required
The relations between left, right, width
and top, bottom, height are required for
internal consistency. It doesn't make sense
to ever drop these.
Changing the strength of these relations makes
my systems behave much more stable.
Diffstat (limited to 'gtk/gtkconstraintlayout.c')
-rw-r--r-- | gtk/gtkconstraintlayout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkconstraintlayout.c b/gtk/gtkconstraintlayout.c index ac07219d4f..390149fde2 100644 --- a/gtk/gtkconstraintlayout.c +++ b/gtk/gtkconstraintlayout.c @@ -222,7 +222,7 @@ get_child_attribute (GtkConstraintLayoutChild *self, gtk_constraint_solver_add_constraint (solver, res, GTK_CONSTRAINT_RELATION_EQ, expr, - GTK_CONSTRAINT_WEIGHT_MEDIUM); + GTK_CONSTRAINT_WEIGHT_REQUIRED); } break; @@ -244,7 +244,7 @@ get_child_attribute (GtkConstraintLayoutChild *self, gtk_constraint_solver_add_constraint (solver, res, GTK_CONSTRAINT_RELATION_EQ, expr, - GTK_CONSTRAINT_WEIGHT_MEDIUM); + GTK_CONSTRAINT_WEIGHT_REQUIRED); } break; |