Open sebastian-nehrdich opened 5 days ago
I think making the side nav panel wider would be preferable to adding wrapping.
The problem is wrapping is, due to virtualization we have to know the height of each list element ahead of time. You have to estimate the number of lines a string will render as, and this is prone to be buggy, depending on the user's text size settings, resolution, etc.
We can make it longer for sure, but I think there will Be edge case where even the whole screen won’t be wide enough…
On Sun, Nov 17, 2024 at 2:02 PM Hubert Dworczyński @.***> wrote:
I think making the side nav panel wider would be preferable to adding wrapping.
The problem is wrapping is, due to virtualization we have to know the height of each list element ahead of time. You have to estimate the number of lines a string will render as, and this is prone to be buggy.
— Reply to this email directly, view it on GitHub https://github.com/BuddhaNexus/buddhanexus/issues/338#issuecomment-2481613999, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEPC7GEPNOQOOJXTRDPMR7L2BEHABAVCNFSM6AAAAABR5JXIHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBRGYYTGOJZHE . You are receiving this because you authored the thread.Message ID: @.***>
We currently have a problem with very long filenames running into "nothingness" on the sidebar menu. Ideally I think we should wrap these lines so that doesn't happen.