Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def get_max_size(self, width, height, strength=kiwi.strength.medium):
""" Run an iteration of the solver with the suggested size of
the component set to a very large value. This will cause the
solver to effectively compute the maximum size that the window
can be to solve the system. The return value is a tuple numbers.
If one of the numbers is -1, it indicates there is no maximum in
that direction.
Parameters
----------
width : Constraint Variable
The constraint variable representing the width of the
main layout container.
height : Constraint Variable
The constraint variable representing the height of the
main layout container.