Well, I managed to do it. A little underhanded, but it works.

Everytime I tried to add "config.options.chkShowRightSidebar=false; "
anywhere, it would run just fine, but wouldn't lengthen the main display
area.

So what I did was edit the toggleRightSidebar tiddler itself. I changed the
"if (co.chkShowRightSidebar===undefined) co.chkShowRightSidebar=true;" to
"if (co.chkShowRightSidebar===undefined) co.chkShowRightSidebar=false;"

So each time I load it with the 'false' the right sidebar is gone *and* the
main display takes over that area of the screen.

Thanks for your assistance!
Christopher

On Mon, Apr 19, 2010 at 5:27 AM, PMario <[email protected]> wrote:

> Hi,
> This may be of interest.
>
>
> http://groups.google.com/group/tiddlywiki/browse_thread/thread/202ed652a7fb088e/099055e02be5e783
>
> Eric Shulman post near the end:
>
> http://groups.google.com/group/tiddlywiki/browse_thread/thread/3ac3f9bbb804208c/475a672dd60fb2d5
>
> using:
> http://www.tiddlytools.com/#SiteStartup
>
> also near the end: ToggleLeftSidebar, ToggleRightSidebar  section
>
>
> have fun!
> mario
>
> On 17 Apr., 23:00, Christopher <[email protected]> wrote:
> > Hi all,
> >
> > I'm attempting to transfer game books that I own to tiddlywiki files
> > for ease of search, small file size, and wiki-links. Unfortunately,
> > I've run into a snag.
> >
> > I've managed to do everything I set out to do so far, except for
> > getting the center section to go full-screen.
> >
> > I'm using the toggleLeftSidebar thing to show/hide the Table of
> > Contents, and I am hiding the right sidebar with the following code in
> > a systemConfig tiddler:
> >
> > if (readOnly) setStylesheetLayout("#sidebar {width:0em;}");
> >
> > So when I load it in read-only mode (don't wanna mess up my hard work,
> > and I want to give it to my friends who also have the book), the right
> > sidebar is gone, and I can toggle the right sidebar. But the center
> > area still stops where the right sidebar usually is.
> >
> > How do I get the center area to take advantage of all the screen real
> > estate? I don't want to have a button to toggle, like for the left
> > sidebar, because if/when I give the file to my friends, they don't
> > need to see the right sidebar at all.
> >
> > Thanks for your assistance!
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> [email protected]<tiddlywiki%[email protected]>
> .
> > For more options, visit this group athttp://
> groups.google.com/group/tiddlywiki?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<tiddlywiki%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/tiddlywiki?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
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.

Reply via email to