Stats' direction not rendering correctly
Bug/Issue Description Direction of stats rendering is reversed. When you click horizontal button your stat renders vertically, when you click vertical button your stats render horizontally.
To Reproduce Steps to reproduce:
- Go to 'Study Time Stats Options'
- Click on Direction 'Horizontal button' for a given stat
- Click on Direction 'Vertical button' for another stat
- Watch results
Screenshots/Visuals
System/Debug Info
Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2023-06-02 12:01:46
===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Add Hyperlink ['318752047', 2021-11-21T17:04, 'None', '']
AwesomeTTS - Add speech to your flashcards ['1436550454', 2022-02-20T04:23, 'None', '']
Batch Download Pictures From Google Images ['561924305', 2023-05-27T20:38, 'None', mod]
Color Confirmation ['1084228676', 2020-03-14T13:13, 'None', '']
Customize Keyboard Shortcuts ['24411424', 2022-06-29T08:13, 'None', mod]
Image Occlusion Enhanced for Anki 21 alpha ['1374772155', 2020-04-28T04:21, 'None', '']
More Decks Stats and Time Left ['1556734708', 2022-10-09T14:05, 'None', '']
Review Heatmap ['1771074083', 2022-06-30T03:43, 'None', '']
Set Card Ease ['1387847178', 2022-12-26T09:44, 'None', mod]
Study Time Stats ['1247171202', 2023-05-31T16:24, 'None', '']
True Retention ['613684242', 2017-11-19T21:43, 'None', '']
nbspRemover ['1676672391', 2022-06-02T16:18, 'None', '']
===IDs of active AnkiWeb add-ons===
1084228676 1247171202 1374772155 1387847178 1436550454 1556734708 1676672391 1771074083 24411424 318752047 561924305 613684242
===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Additional Context No I can think of
Hmm, sorry, this is really strange behavior. Would you be alright with uploading your meta.json file (Tools -> Add-ons -> Study Time Stats -> View Files)?
Could be something weird with the view's HTML section (the </> button), if that looks different than the default that shows up when you first add a stat view.
I don't really know where to start, other than that, to be honest. Tested it in 2.1.49 again, and tried installing some of the add-ons that might affect the main view, but I'm having a really hard time reproducing this on my end.
Either way, appreciate the report!