benji300 / joplin-favorites

Save any notebook, note, to-do, tag, or search as favorite in an extra panel view for quick access.
MIT License
94 stars 7 forks source link

Favorites bar resizing problem #20

Open gab12 opened 2 years ago

gab12 commented 2 years ago

Hello,

Thanks for your plugin. However, I have a problem with the plugin. The resize works badly.

I put the favorites in top bar mode, but when I readjust it, it automatically goes over 2 lines when there is plenty of room. When I delete the title "Favorites" it's even worse since the crossing point on 2 lines hardly changes.

I also adjusted the width in the option, but no improvement.

I have attached the animated gif. thanks in advance

2022-02-07 13-58-04

benji300 commented 2 years ago

Sorry but this is no issue, it's the intended behaviour described here. The panel layout switches automatically at a width of 400px from horizontal to vertical.

However, there's no way to prevent this behavior right now. I've added an option "Force panel layout" to the Note Tabs plugin. I can add this also to the favorites plugin. So I keep this issue here as a feature request.

gab12 commented 2 years ago

ok thank you very much for your anwser. I thought that min-width bar = nbre items * nb minimum favorite width. I changed the value locally and it worked. maybe my use above the menu is very specific