> would it be possible to adapt FitWindowPlugin so that it fits
> scrolling bars to the SideBarTabs too?
Sure.
The last line of the plugin is:
setStylesheet(".tiddler {max-height:"+getHeight()+"px; overflow:
auto;}","ScrollStyle")
If you duplicate that line, and in one of the two change .tiddler to
#sidebar, the max height of the entire sidebar will be set to fit the
window, and you get a scroll bar if it's longer than that.
Or, if you prefer to have the scroll bar on the *tabs* section only,
not the whole sidebar, then add this line to the bottom of the plugin:
setStylesheet("#sidebarTabs {max-height:"+(getHeight()-150)+"px;
overflow: auto;}","ScrollStyle")
You can change the 150 to a higher or lower value to allow for however
many sidebar entries you may have above; 150 works about right for the
TW I tried it with.
Hope that helps,
R.
If you change .tiddler to #sidebarTabs, then the scroll bar is set for
the sidebar *tabs* section only, not for the whole sidebar. In this
case, you'll need to make windowDiff bigger, because you want to allow
room for the other sidebar entries above.