Thread Rating:
  • 275 Vote(s) - 2.8 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TocDocument index font
09-11-2012, 05:53 AM,
#1
TocDocument index font
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
09-24-2012, 09:28 AM,
#2
RE: TocDocument index font
You should be able to get to it through TocDocument.top-level-graphic. (and then OverlayBox -> HBox -> [first child])
09-24-2012, 07:21 PM,
#3
RE: TocDocument index font
(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:30 PM,
#4
RE: TocDocument index font
(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

Forum Jump:


Users browsing this thread:
1 Guest(s)

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: 'mybb_threadviews' (errno: 2)
Query:
INSERT INTO mybb_threadviews (tid) VALUES('621')