glutanimate / coronavirus-tracker

Coronavirus Tracker add-on for Anki
https://ankiweb.net/shared/info/1313091126
Other
4 stars 0 forks source link

Make text size / styling adjustable #2

Open aleksejrs opened 4 years ago

aleksejrs commented 4 years ago

Problem description

It uses two lines for the text. Even though I have MorphMan installed, I have enough space for a single line and appropriate text size.

Checklist

Please replace the space inside the brackets with an x if the following items apply:

Information about your Anki set-up

Please fill out the section corresponding with your Anki version:

If you are using Anki 2.1

Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):


    Anki 2.1.22 (0ecc189a) Python 3.8.1 Qt 5.14.1 PyQt 5.14.1
    Platform: Linux
    Flags: frz=True ao=True sv=1
    Add-ons, last update check: 2020-03-28 00:27:14

    ===Add-ons (active)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    '' ['cronholio', 0, 'None', '']
    '' ['main_fullscreen', 0, 'None', '']
    '' ['tagedit_subtag_completer', 0, 'None', '']
    Add a tag to notes with missing media ['2027876532', 2020-02-11T00:14, 'None', '']
    Anki Simulator ['anki_simulator', 2020-03-26T00:48, 'None', '']
    BetterTags ['bettertags', 2020-01-28T23:30, 'None', mod]
    Bury related notes ['413416269', 2020-02-07T06:01, 'None', '']
    Button Colours Good Again ['2494384865', 2020-02-10T03:24, 'None', '']
    CSS classes around fields ['631147309', 2020-02-07T05:42, 'None', '']
    Cardistry Dynamically Adjust New Cards ['1535078906', 2020-02-16T10:58, 'None', '']
    Change cards decks prefix ['1262882834', 2020-02-07T05:31, 'None', '']
    Clean the default deck ['683170394', 2020-02-07T05:33, 'None', '']
    Copy notes ['1566928056', 2020-03-12T03:56, 'None', '']
    Coronavirus Tracker ['1313091126', 2020-03-18T20:59, 'None', '']
    Correct Answers Graph ['993120073', 2020-03-24T15:57, 'None', '']
    Create Filtered Deck from the Browser ['861263371', 2017-11-05T13:55, 'None', '']
    Create subs2srs cards with mpv video player ['1213145732', 2020-03-15T14:34, 'None', '']
    CrowdAnki JSON exportimport Edit history Collaborate on deck creation ['1788670778', 2020-01-14T06:52, 'None', '']
    DA KILL Z0NE - automatic suspension and burying for time-wasting cards ['1565222544', 2020-02-07T05:47, 'None', mod]
    Deck name in title 21 ['699175524', 2020-02-07T05:38, 'None', '']
    Duplicate Selected Notes ['2126361512', 2017-11-05T14:02, 'None', '']
    Ease Factor Histogram ['494944895', 2019-08-02T23:48, 'None', '']
    Enhance main window ['877182321', 2020-02-16T05:51, 'None', mod]
    Ensure each note is unique correct a bug introduced by add-on copy note ['2082040683', 2020-02-07T05:37, 'None', '']
    Extended Card Stats During Review ['1008566916', 2017-11-05T13:50, 'None', '']
    External Note Editor for the Browser ['browser_external_note_editor', 2020-03-10T20:42, 'None', '']
    Fill the blanks - Multiple typecloze support ['1933645497', 2020-03-14T04:20, 'None', '']
    Frozen Fields ['516643804', 2020-03-01T07:12, 'None', '']
    If a note has no more card warns instead of deleting it ['2018640062', 2020-02-07T05:41, 'None', '']
    Increase autosave frequency ['786971082', 2020-02-07T05:27, 'None', '']
    Incremental Reading v4103 ['935264945', 2020-02-07T01:30, 'None', '']
    Learning Step and Review Interval Retention ['1949865265', 2020-01-12T03:33, 'None', mod]
    Maximum image height and width in card editor ['229181581', 2020-02-20T11:10, 'None', '']
    MentalPause No bonus for being late ['1707633456', 2019-08-03T00:14, 'None', '']
    MorphMan for Anki 21 ['900801631', 2020-02-24T22:07, 'None', '']
    Pop-up Dictionary beta ['153625306', 2020-02-10T03:51, 'None', '']
    Pretzel Logic Retention Benchmarking ['1168065472', 2020-02-07T05:13, 'None', '']
    Preview any cloze number ['915063177', 2020-02-28T16:01, 'None', '']
    Progress Graphs and Stats for Learned and Matured Cards ['266436365', 2020-02-07T05:14, 'None', '']
    Puppy Reinforcement ['puppy_reinforcement', 2020-03-02T22:22, 'None', '']
    Push Paradox Sibling Cardistry ['1797395052', 2020-02-07T05:16, 'None', '']
    ReMemorize Ex Rated0Search ['1056004913', 2020-02-07T05:19, 'None', '']
    ReMemorize Rescheduler with sibling and logging v130 ['323586997', 2020-02-07T05:18, 'None', '']
    Reflect On Mee - Helps Alleviate RGS ['86140736', 2020-02-07T06:29, 'None', '']
    Review Heatmap ['review_heatmap', 2018-10-29T01:06, 'None', '']
    Separate Learn and Relearn in the Answer Buttons graph 21 ['403491806', 2020-02-07T05:26, 'None', '']
    Slackers Delight PostponeDefer Button ['880824023', 2020-02-26T22:09, 'None', '']
    Statistics for Note Types Card Types and Tags ['16703369', 2019-12-17T04:30, 'None', '']
    True Retention ['613684242', 2020-02-07T05:47, 'None', '']
    True Retention by Card Maturity ['923360400', 2017-11-05T13:51, 'None', '']
    Watch Foreign Language Movies with Anki ['939347702', 2020-03-26T14:38, 'None', '']
    bury future new sibs ['930365039', 2020-02-07T06:00, 'None', '']
    syntax highlighting FORK ['1972239816', 2020-03-24T03:24, 'None', '']

    ===IDs of active AnkiWeb add-ons===
    1008566916 1056004913 1168065472 1213145732 1262882834 1313091126 1535078906 153625306 1565222544 1566928056 16703369 1707633456 1788670778 1797395052 1933645497 1949865265 1972239816 2018640062 2027876532 2082040683 2126361512 229181581 2494384865 266436365 323586997 403491806 413416269 494944895 516643804 613684242 631147309 683170394 699175524 786971082 861263371 86140736 877182321 880824023 900801631 915063177 923360400 930365039 935264945 939347702 993120073

    ===Add-ons (inactive)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    Add Table ['1237621971', 2020-02-07T06:02, 'None', '']
    Advanced Browser ['874215009', 2020-02-21T01:39, 'None', '']
    Cloze Overlapper ['cloze_overlapper', 2019-02-01T15:37, 'None', '']
    Field History ['1247884413', 2020-02-07T05:40, 'None', '']
    Fold Note Types in Sidebar ['1518136901', 2018-11-09T23:55, 'None', '']
    Hierarchical Tags Addon 20  21 ['1835859645', 2018-11-13T14:49, 'None', '']
    High Yield Tags ['1918380616', 2020-03-11T02:11, 'None', '']
    Localize Media ['1293255374', 2018-11-26T14:27, 'None', '']
    Multi-column note editor ['3491767031', 2020-02-07T01:30, 'None', mod]
    Quick note and deck change menus ['277081964', 2020-02-07T05:44, 'None', '']
    Searching PDF Reading  Note-Taking in Add Dialog ['1781298089', 2020-03-15T17:28, 'None', mod]
    Syllabus - Anki Statistics and Export by Tag and Deck ['668156440', 2020-01-12T14:47, 'None', '']

Please fill in details about your operating system (Windows/macOS/Linux, which version):

glutanimate commented 4 years ago

Thanks for the suggestion, Aleksej. For the time being I want to keep the text styling as is because there are likely to be more add-ons that will be using the top bar area soon (so screen space will be limited). But I'm not opposed to revisiting this in the future and adding some configuration options to customize the text formatting.