Code: Select all
15.04.24 Added: Folder tabs: Always scroll current tab into view when resizing main window (32/64)
viewtopic.php?p=439251#p439251
viewtopic.php?t=81580&sid=2c377bd61b940bbc24e824ff8b208a2a
Basically the function works as expected. But there is a little glitch:
Try this (TC 64b, resolution 1920x1080 (but I think the resolution does not matter))
* with maximized TC window open enough tabs to display the horizontal scrollbuttons in the tab bar
* Select the very last tab on the far right side
* resize the window
* maximize the window again
--> the very last tab is placed in the center of the panel with a blank space on the right side between itself and the scroll buttons.
* click any of the scroll buttons
--> the tab bar is aligned correctly again with the last tab aligned to the very right side
I see the point here. TC alignes the selected tab to the center in order to place it in the visible area of the panel during a resize. But the more the selected tab is placed to the right, the larger becomes the gap between itself and the scroll buttons on maximizing the window.
Maybe you can still put the finishing touches to this very useful feature.