From 7a6ea32a02bec001495e6fc8f7ceb4265bb9d6e9 Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Thu, 22 Jan 2009 20:52:32 +0000 Subject: make cardtable screen-resolution independent --- (limited to 'cardlist.py') diff --git a/cardlist.py b/cardlist.py index fef27e3..735af5c 100644 --- a/cardlist.py +++ b/cardlist.py @@ -259,14 +259,14 @@ class Pair(gtk.EventBox): 'front' : { 'fill_color' : '#4c4d4f', 'stroke_color' : '#ffffff', 'opacity' : '1' } }, - None, theme.CARD_SIZE, 1, self.bg_color) + None, theme.PAIR_SIZE, 1, self.bg_color) self.bcard2 = svgcard.SvgCard(-1, { 'front_text' : { 'card_text' : text2, 'text_color' : '#ffffff' }, 'front' : { 'fill_color' : '#4c4d4f', 'stroke_color' : '#ffffff', 'opacity' : '1' } }, - None, theme.CARD_SIZE, 1, self.bg_color) + None, theme.PAIR_SIZE, 1, self.bg_color) self.bcard1.flip() self.bcard2.flip() -- cgit v0.9.1