こんにちは。
CalendarControlの月/年を選択できるスピン部分で質問です。
標準の状態だと
▲で翌月、▼で前月表示 だと思うのですが、
これを ▲で前月、▼で翌月表示
への切り替えはできるのでしょうか?
CalendarControlのカスタマイズクラスを作成しないと無理でしょうか。
よろしくお願いいたします。
こんな感じでしょうか?(違和感があるかと思いますが、これ以上のカスタマイズは、UIクラスを継承してやる必要があるようなきがします。。。)
{def samples =
{HBox
spacing = 9pt, margin = 9pt,
{CalendarControl}
}
}
{value
{install-style-sheet-on-Graphic
samples,
{StyleSheet
{StyleRule "SpinControl/decrease-button",
skin =
{ShadedSkinSpec
"chocolate", "darkorange",
overlay-decoration = "decrease-triangle",
highlight-boundary = .05,
corner-radius = 3
}
},
{StyleRule "SpinControl/increase-button",
skin =
{ShadedSkinSpec
"chocolate", "darkorange",
overlay-decoration = "increase-triangle",
highlight-boundary = .05,
corner-radius = 3
}
}
}
}
}
ありがとうございます
なるほど、表示をかえる、というわけですね。
参考にさせていただきます。
ありがとうございました。
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 can control the font-size of the headings in the document,
> but I desperately need a larger font for the left-side index widget.
Do you mean you met this issue when using TocDocument?
(09-20-2012, 03:45 PM)mikhelee Wrote: [ -> ]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.
Looks like this was posted to the wrong thread.