diff --git a/boxes/__init__.py b/boxes/__init__.py index 69f4a8d..60104c9 100755 --- a/boxes/__init__.py +++ b/boxes/__init__.py @@ -937,7 +937,7 @@ class Boxes: """ c4 = (r+self.burn)*math.pi*0.5 # circumference of quarter circle - c4 = 0.9 * c4 # stretch flex 10% + c4 = c4 / self.edges["X"].settings.stretch top = self.edges.get(top, top) bottom = self.edges.get(bottom, bottom) diff --git a/boxes/edges.py b/boxes/edges.py index b3e8db2..6e4cbd5 100644 --- a/boxes/edges.py +++ b/boxes/edges.py @@ -461,7 +461,7 @@ class FlexSettings(Settings): "width" : 5.0, } absolute_params = { - "stretch" : 1.0, + "stretch" : 1.05, } class FlexEdge(Edge): diff --git a/documentation/TODO.txt b/documentation/TODO.txt index 8d1bb25..97b2abf 100644 --- a/documentation/TODO.txt +++ b/documentation/TODO.txt @@ -5,3 +5,4 @@ * Make settings nicer * Offer a collection of different settings * Make bolts configurable (e.g. box2.py) + * Use stretch seting in flexboxes