mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
increase length, wrap text, improve doc string
This commit is contained in:
parent
6c263bd94d
commit
b8b8dcd3af
3 changed files with 3 additions and 2 deletions
|
@ -98,7 +98,7 @@ class Config(dict):
|
||||||
'loadLastDeck': False,
|
'loadLastDeck': False,
|
||||||
'deckBrowserRefreshPeriod': 3600,
|
'deckBrowserRefreshPeriod': 3600,
|
||||||
'deckBrowserOrder': 0,
|
'deckBrowserOrder': 0,
|
||||||
'deckBrowserNameLength': 15,
|
'deckBrowserNameLength': 30,
|
||||||
'deleteMedia': False,
|
'deleteMedia': False,
|
||||||
}
|
}
|
||||||
for (k,v) in fields.items():
|
for (k,v) in fields.items():
|
||||||
|
|
|
@ -1164,6 +1164,7 @@ your deck."""))
|
||||||
mod = "<font size=-1>%s</font>" % mod
|
mod = "<font size=-1>%s</font>" % mod
|
||||||
l = QLabel("%d. <b>%s</b><br> %s" %
|
l = QLabel("%d. <b>%s</b><br> %s" %
|
||||||
(c+1, n, mod))
|
(c+1, n, mod))
|
||||||
|
l.setWordWrap(True)
|
||||||
layout.addWidget(l, c+1, 0)
|
layout.addWidget(l, c+1, 0)
|
||||||
# due
|
# due
|
||||||
col = '<b><font color=#0000ff>%s</font></b>'
|
col = '<b><font color=#0000ff>%s</font></b>'
|
||||||
|
|
|
@ -608,7 +608,7 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label_22">
|
<widget class="QLabel" name="label_22">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Deck browser name length</string>
|
<string>Max deck name length in deck browser:</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
Loading…
Reference in a new issue