TocDocument index font - Printable Version +- Curl Global Community (https://communities.curl.com) +-- Forum: Discussions (https://communities.curl.com/forumdisplay.php?fid=1) +--- Forum: General Curl questions (https://communities.curl.com/forumdisplay.php?fid=2) +--- Thread: TocDocument index font (/showthread.php?tid=621) |
TocDocument index font - RobertShiplett - 09-11-2012 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 ?? RE: TocDocument index font - c-s - 09-24-2012 You should be able to get to it through TocDocument.top-level-graphic. (and then OverlayBox -> HBox -> [first child]) RE: TocDocument index font - RobertShiplett - 09-24-2012 (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 } RE: TocDocument index font - RobertShiplett - 09-24-2012 (09-24-2012, 07:21 PM)RobertShiplett Wrote:The best prospect that I see is as a method is(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 ... {{get-the-applet}.document.top-level-graphic.notify-option-children SOME-ARGS} |