From 5d9c9237195a036152988bca52dc3e4743b74d68 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Tue, 11 Oct 2011 13:24:47 +0000 Subject: fine-tuning postions based on execution on the XO --- (limited to 'abacus_window.py') 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') + \ -- cgit v0.9.1