Curl Global Community

Full Version: TocDocument index font
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I can control the font-size of the headings in the document, but I desperately need a larger font for the left-side index widget.

I find the kanji entries almost illegible.

Is the answer to subclass and add a method to get at

toc-root

protected TocDocument.toc-root:TreeNode

This item is unsupported and reserved for internal use

??

You should be able to get to it through TocDocument.top-level-graphic. (and then OverlayBox -> HBox -> [first child])
(09-24-2012, 09:28 AM)c-s Wrote: [ -> ]You should be able to get to it through TocDocument.top-level-graphic. (and then OverlayBox -> HBox -> [first child])
I could not see an accessor that allows descent ... it is the method itself that I cannot see ...

For example, what might this code do ? Everything I have tried to add fails

{after 0.1s do

{get-the-applet}.document.top-level-graphic
}




(09-24-2012, 07:21 PM)RobertShiplett Wrote: [ -> ]
(09-24-2012, 09:28 AM)c-s Wrote: [ -> ]You should be able to get to it through TocDocument.top-level-graphic. (and then OverlayBox -> HBox -> [first child])
I could not see an accessor that allows descent ... it is the method itself that I cannot see ...

For example, what might this code do ? Everything I have tried to add fails

{after 0.1s do

{get-the-applet}.document.top-level-graphic
}
The best prospect that I see is as a method is

{{get-the-applet}.document.top-level-graphic.notify-option-children SOME-ARGS}