[gtk/constraint-flexible-space: 6/9] constraints: Make internal consistency required
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/constraint-flexible-space: 6/9] constraints: Make internal consistency required
- Date: Wed, 26 Jun 2019 04:26:56 +0000 (UTC)
commit ea8bf0fc1e39c15fe5ca320edcb3e32de9d429ca
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jun 26 02:30:31 2019 +0000
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.
gtk/gtkconstraintlayout.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkconstraintlayout.c b/gtk/gtkconstraintlayout.c
index 2c71fd3896..c93b842c65 100644
--- a/gtk/gtkconstraintlayout.c
+++ b/gtk/gtkconstraintlayout.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]