make margins in editor a little bigger, update anki version in samples

This commit is contained in:
Damien Elmes 2008-12-09 02:30:25 +09:00
parent 8562a3046e
commit 2cb8c5342f
2 changed files with 3 additions and 12 deletions

View file

@ -551,7 +551,7 @@ Error was:\n%(f1)s\n...\n%(f2)s""") % {'f1': fmt1, 'f2': fmt2})
def openMacSamplesDir(self, path): def openMacSamplesDir(self, path):
# some versions of macosx don't allow the open dialog to point inside # some versions of macosx don't allow the open dialog to point inside
# a .App file, it seems - so we copy the files onto the desktop. # a .App file, it seems - so we copy the files onto the desktop.
newDir = os.path.expanduser("~/Documents/Anki 0.3 Sample Decks") newDir = os.path.expanduser("~/Documents/Anki 0.9 Sample Decks")
import shutil import shutil
if os.path.exists(newDir): if os.path.exists(newDir):
files = os.listdir(path) files = os.listdir(path)

View file

@ -141,17 +141,8 @@
<property name="spacing" > <property name="spacing" >
<number>0</number> <number>0</number>
</property> </property>
<property name="leftMargin" > <property name="margin" >
<number>2</number> <number>4</number>
</property>
<property name="topMargin" >
<number>2</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>2</number>
</property> </property>
<item> <item>
<widget class="QLabel" name="cardLabel" > <widget class="QLabel" name="cardLabel" >