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:
committed by
Emmanuele Bassi
parent
176d9c6baf
commit
a39bbb2041
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user