Alexey-T / CudaText

Cross-platform text editor, written in Free Pascal
Mozilla Public License 2.0
2.48k stars 170 forks source link

Tab at far right renamed with long title is only partially visible #5655

Closed pintassilgo closed 1 month ago

pintassilgo commented 1 month ago

This option I use is probably required to reproduce:

"ui_tab_variable_width": true,

  1. Have many tabs open.
  2. Select the last.
  3. Rename to a long title.

Current result: New title is larger than the space for the tab, so it's hidden. image

After renaming, Cuda should assure current tab is entirely visible, scrolling if needed. Similar to what it already does when user activates a partially visible tab.

Alexey-T commented 1 month ago

how do you rename a tab? api call in console? plugin Tab_Rename? etc.

pintassilgo commented 1 month ago

Right-click tab -> Rename (which also renames the file), also Tab-Rename plugin. Both are affected with this issue.

Alexey-T commented 1 month ago

beta, for last 2 issues cudatext.zip

pintassilgo commented 1 month ago

Thanks!