You're absolutely right, thanks. twcomp.html, line 348:
.toolbar {text-align:right; font-size:.9em; float:right }
:-) Poul
On Saturday, March 24, 2012 2:07:02 PM UTC+1, cmari wrote:
>
> I'm not sure where it would need to be inserted in your specific use case,
> but this line in the Stylesheet seems to be the important one:
>
> .toolbar { float:right; }
>
> cmari
>
>
>
> On Saturday, March 24, 2012 7:39:15 AM UTC-5, Poul wrote:
>>
>> NB: In both cases, it isn't actually ViewTemplate that's used for view
>> template, but rather newsViewTemplate.
>> For more info, see
>>
>> http://giewiki.appspot.com/#%5B%5Btiwinate%20(macro)%3A%20Tiddler%20With%20Named%20Template%5D%5D<http://giewiki.appspot.com/#%5B%5Btiwinate%20%28macro%29%3A%20Tiddler%20With%20Named%20Template%5D%5D>
>>
>>
>> /Poul
>>
>> On Saturday, March 24, 2012 1:33:36 PM UTC+1, Poul wrote:
>>>
>>> Hi guys,
>>>
>>> I could use a bit of help with this one: As you may know, I adapted
>>> Simon Baird's excellent work at http://mptw.tiddlyspot.com/
>>> as an optional alternative page template in giewiki. Recently I used it
>>> for a sample application of the custom tiddler templates facility, that
>>> I've added in giewiki 1.16.
>>> Specifically, I have a ViewTemplate (derivative) that starts like this:
>>> <div><span macro='view topic'></span><span class='toolbar'
>>> macro='toolbar [[ToolbarCommands::ViewToolbar]]'></span></div>
>>> in stead of the classic
>>> <div class='toolbar' macro='toolbar
>>> [[ToolbarCommands::ViewToolbar]]'></div>
>>> If I use the MPTW page template, I get the result I'm hoping for, ie. a
>>> left-aligned span showing the value of the 'topic' field and the usual
>>> right-aligned toolbar, like this:
>>>
>>> http://giewiki.appspot.com/SandBox/CustomTiddlerTemplates#%5B%5BBerlusconi%20is%20out%5D%5D<http://giewiki.appspot.com/SandBox/CustomTiddlerTemplates#%5B%5BBerlusconi%20is%20out%5D%5D>
>>> If I do not use it, I don't get quite what I want (the toolbar isn't
>>> right-aligned):
>>>
>>> http://giewiki.appspot.com/SandBox/CustomTiddlerTemplates/Sport#%5B%5BNavratilova%20is%20back%5D%5D<http://giewiki.appspot.com/SandBox/CustomTiddlerTemplates/Sport#%5B%5BNavratilova%20is%20back%5D%5D>
>>>
>>> What exactly is it that Simon did to make it work (and why doesn't it
>>> work otherwise)?
>>>
>>> Thanks,
>>> Poul
>>>
>>>
>>>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/tiddlywiki/-/vchtlWDrdpAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.