giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.43k stars 467 forks source link

Unmovable separation bar with small window #2179

Closed pckeller29 closed 1 year ago

pckeller29 commented 1 year ago

Hi I'm not sure this is a bug. Rather a limitation by design. When Cherrytree window is a bit small (in width), but still quite usable, the separation bar between tree part and the main part is stuck. I mean, I can't slide it in any direction. cherrytree This unfortunate situation makes the tree view unreadable. In the previous example, the window width is about 924 points. To workaround this situation, I have to enlarge the window which frees the separation bar a bit. Actually, I have to resize until the bar is far enough from the left to let me see enough of the tree view. Is it possible to remove this limitation ? I mean, allow the user to move the separation bar in any direction whatever the window width ? I'm using a Windows 10 with Cherrytree v0.99.52. Thanx

pckeller29 commented 1 year ago

Just upgraded to 0.99.53 and same issue.

pckeller29 commented 1 year ago

I understand you may not have enough time to answer all requests but can you maybe point me out which code / module is involved in this limitation please ? Thanx a lot.

pckeller29 commented 1 year ago

Well I'm a bit puzzled. Just tried on an Kubuntu system and the problem doesn't occur. I even compiled a 0.99.53, No issue, even on a smaller window. So this problem only happens on Windows. Any idea what can cause this annoying behavior ? Thank you

silverwings15 commented 1 year ago

it's only an issue on your windows device, i can resize the tree panel just fine on my windows laptop, even if it's a small window

pckeller29 commented 1 year ago

OK, I will focus on that then. Thank you for your comment.

pckeller29 commented 1 year ago

I got it. It was a setting from the Tree Explorer:

CherryTreeSettings

The editor window has to be wide enough to be able to display all the Last Visited Node Name Header.

CherryTree pcg

That's why the separation bar is fully pushed to the left to allow the display of the Last Visited Nodes.

Reducing this setting from 10 to 8 solved my issue.

cherrytree

Thanx a lot @silverwings15 for helping figuring out something I may have spent a long time to find!