Hi Mat, 

Thanks for your answer. I will give your answer a try after I understand 
macros.

Cheers!
On Monday, April 5, 2021 at 8:20:46 PM UTC+2 Mat wrote:

> Hi Anomaly Spy
>
> You can tweak the tab itself to do further actions via the *actions* 
> paramter see the tabs Macro docs 
> <https://tiddlywiki.com/prerelease/#tabs%20Macro>. One annoyance here is 
> to find *where *the sidebar tabs macro is actually called (it is in  
> $:/core/ui/SideBarSegments/tabs - btw, you may find HackSearch 
> <https://hacksearch.tiddlyhost.com/>useful for such issueas an general 
> tinkering.) As you'll note the sidebar tabs are listed by their tag so in 
> your case I guess you'd hard code the individual tabs (no biggie it's just 
> four of them) to differentiate what actions they trigger. One idea to 
> consider, rather than setting fixed sidebarwidths, might be to have those 
> tabs toggle the sidebarlayout value i.e 
> $:/themes/tiddlywiki/vanilla/options/sidebarlayout between fluid-fixed and 
> fixed-fluid
>
> <:-)
>
>
> On Monday, April 5, 2021 at 3:06:56 PM UTC+2 Anomaly Spy wrote:
>
>> Hello TiddlyWiki contributors, experts and users,
>>
>> I am an old school (manual) test engineer by profession, who recently 
>> stumbled into TiddlyWiki. Forced by the nature of my profession, I have 
>> been tinkering with it for a few days now, before starting to use it for a 
>> purpose :-) I am a bit familiar to programming, but a stranger to 
>> Javascript, HTML or CSS.
>>
>> Before getting into my first request/question, I want to join the 
>> multitude of users who are thankful to Jeremy for this creation and various 
>> additions that make it more useful.
>>
>> My request / question: Can I resize the SideBar based on certain actions? 
>> For example, when I click "Recent" in Sidebar, it should have 300px width . 
>> When I click tools the SideBar should resize to 600px px, all others should 
>> use default width. Can this be done? If yes, how?
>>
>> Regards,
>> Anomaly Spy
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a1127a2c-4fe0-41ce-b6eb-ac5e802772e3n%40googlegroups.com.

Reply via email to