mirror of
https://github.com/ankitects/anki.git
synced 2025-11-12 07:37:11 -05:00
add 'add notes' button to browser
This commit is contained in:
parent
96748e8621
commit
694fad9f47
2 changed files with 4 additions and 3 deletions
|
|
@ -1443,6 +1443,7 @@ class BrowserToolbar(Toolbar):
|
||||||
<a class=hitem title="%s" href="%s"><img style="padding: 1px;" valign=bottom src="qrc:/icons/%s.png"> %s</a>'''
|
<a class=hitem title="%s" href="%s"><img style="padding: 1px;" valign=bottom src="qrc:/icons/%s.png"> %s</a>'''
|
||||||
return fmt % (title, link, icon, title)
|
return fmt % (title, link, icon, title)
|
||||||
right = ""
|
right = ""
|
||||||
|
right += borderImg("add", "add16", False, _("Add"))
|
||||||
right += borderImg("info", "info", False, _("Info"))
|
right += borderImg("info", "info", False, _("Info"))
|
||||||
right += borderImg("mark", "star16", mark, _("Mark"))
|
right += borderImg("mark", "star16", mark, _("Mark"))
|
||||||
right += borderImg("pause", "pause16", pause, _("Suspend"))
|
right += borderImg("pause", "pause16", pause, _("Suspend"))
|
||||||
|
|
|
||||||
|
|
@ -6,13 +6,13 @@
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>700</width>
|
<width>750</width>
|
||||||
<height>500</height>
|
<height>500</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>700</width>
|
<width>750</width>
|
||||||
<height>500</height>
|
<height>500</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
|
@ -218,7 +218,7 @@
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>700</width>
|
<width>750</width>
|
||||||
<height>22</height>
|
<height>22</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue