diff options
author | Walter Bender <walter.bender@gmail.com> | 2011-10-11 13:24:47 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2011-10-11 13:24:47 (GMT) |
commit | 5d9c9237195a036152988bca52dc3e4743b74d68 (patch) | |
tree | f9de3f7a5d0e5239c08dad6a8c3d02616754f9cc /abacus_window.py | |
parent | c38ed6331e1d67a55ef84fc606eaffb5dc05f577 (diff) |
fine-tuning postions based on execution on the XO
Diffstat (limited to 'abacus_window.py')
-rw-r--r-- | abacus_window.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/abacus_window.py b/abacus_window.py index 3b73986..4529c15 100644 --- a/abacus_window.py +++ b/abacus_window.py @@ -934,7 +934,7 @@ class AbacusGeneric(): # Draw the frame... x = (self.abacus.width - (self.frame_width * self.abacus.scale)) / 2 - y = BEAD_HEIGHT + y = int(BEAD_HEIGHT * 1.5) frame = _svg_header(self.frame_width, self.frame_height, self.abacus.scale) + \ _svg_rect(self.frame_width, self.frame_height, @@ -957,7 +957,7 @@ class AbacusGeneric(): if dots: dx = (BEAD_WIDTH + BEAD_OFFSET) * self.abacus.scale dotx = int(self.abacus.width / 2) - 5 - doty = [y + 5, y + self.frame_height - FRAME_STROKE_WIDTH - 15] + doty = [y + 5, y + self.frame.rect[3] - 15] self.dots = [] white_dot = _svg_header(10, 10, self.abacus.scale) + \ _svg_circle(5, 5, 5, '#FFFFFF', '#000000') + \ |