TocDocument index font

4 件の投稿

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

??

Robert Shiplett, Curlr
Fredericton NB

Canada
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
}




Robert Shiplett, Curlr
Fredericton NB

Canada
(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}




Robert Shiplett, Curlr
Fredericton NB

Canada