[TW5] Scrolling with Top Toolbar Plugin

235 views
Skip to first unread message

Jeff Vance

unread,
Mar 12, 2017, 3:03:39 PM3/12/17
to TiddlyWiki
Hi All,

I've been experimenting with Ton Gerner's excellent top toolbar plugin:  http://tw5toolbar.tiddlyspot.com/

However, one thing is really bugging me: the default scrolling position of the story when opening a new tiddler. Surely others have seen this? After opening, by default the story is scrolled such that the title of the new tiddler is hidden by the toolbar. What makes it even more awkward is the buttons for the tiddler are also hidden. So that means if you want to edit a tiddler, you always have to open, then scroll to reveal the button, then click edit. Maybe it's a really minor thing for some, but I find it too awkward. Are there any solutions for this?

Cheers,
Jeff

Jed Carty

unread,
Mar 12, 2017, 3:13:10 PM3/12/17
to TiddlyWiki
There have been some attempts at fixes for this but nothing that works well. For my icon menus plugin I made I put in a button to get around this:

<$button>Set tiddler top position<$action-setfield $tiddler='$:/themes/tiddlywiki/vanilla/metrics/storytop' $field=text $value="""{{$:/plugins/inmysocks/iconmenus/icon_menu_settings!!top_bar_height}}"""/></$button>

It doesn't fix everything, but if you put the correct value in it will make the spot that a tiddler opens be below the top bar most of the time. That is how it works on http://inmysocks.tiddlyspot.com

Jeff Vance

unread,
Mar 12, 2017, 3:14:46 PM3/12/17
to TiddlyWiki
It just occurred to me that this problem might be more serious for me because I'm using the seemless theme that removes the tiddler borders.  I noticed on the plugin demo site, the problem isn't as bad (I assume because the added borders push down the relative start of the top tiddler).

Ton Gerner

unread,
Mar 12, 2017, 4:47:26 PM3/12/17
to TiddlyWiki
Hi Jeff,

As Jed mentioned: There have been some attempts at fixes for this but nothing that works well.

For sure the Seamless theme (removes borders from tiddlers) does not help to say the least ;-)

You can try to adjust the settings in ControlPanel > Appearance, tab Plugin tweaks, tabs Toolbar and Layout.

E.g.:

* decrease the size of the toolbar buttons
* decrease the height of the Topbar
* increase the top padding of the tidller

Using 'sticky' titles (ControlPanel > Appearance > Theme tweaks) can help as well.

Cheers,

Ton

Jeff Vance

unread,
Mar 13, 2017, 6:14:38 PM3/13/17
to tiddl...@googlegroups.com

Thanks for the suggestions guys!  I played around with these settings and it is a little better.  But I might have to just drop this whole idea when using seamless mode.  To me it only works well when the tiddler borders are there to help push things down.

Cheers,
Jeff


Ton Gerner

unread,
Mar 14, 2017, 4:28:42 AM3/14/17
to TiddlyWiki
Hi Jeff,

I noticed that - when using the Seamless theme - you cannot override the top padding by my top padding setting in Plugin tweaks.

Change in $:/plugins/tongerner/layout_adjustment/styles:

html .tc-tiddler-frame {

to

body.tc-body .tc-tiddler-frame {

and the setting top padding in my Plugin tweaks will be active again.

Cheers,

Ton

Reply all
Reply to author
Forward
0 new messages