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.
This commit is contained in:
Matthias Clasen
2019-06-26 02:30:31 +00:00
committed by Emmanuele Bassi
parent 176d9c6baf
commit a39bbb2041

View File

@@ -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;