(self, parent)
| 128 | self.edit_margins(todo, 0.0) |
| 129 | |
| 130 | def add_constraints(self, parent): |
| 131 | # define self-consistent constraints |
| 132 | self.hard_constraints() |
| 133 | # define relationship with parent layoutgrid: |
| 134 | self.parent_constraints(parent) |
| 135 | # define relative widths of the grid cells to each other |
| 136 | # and stack horizontally and vertically. |
| 137 | self.grid_constraints() |
| 138 | |
| 139 | def hard_constraints(self): |
| 140 | """ |
no test coverage detected