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:
@@ -219,7 +219,7 @@ get_attribute (ConstraintSolverChildData *self,
|
||||
|
||||
gtk_constraint_solver_add_constraint (solver,
|
||||
res, GTK_CONSTRAINT_RELATION_EQ, expr,
|
||||
GTK_CONSTRAINT_WEIGHT_MEDIUM);
|
||||
GTK_CONSTRAINT_WEIGHT_REQUIRED);
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -241,7 +241,7 @@ get_attribute (ConstraintSolverChildData *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