small (テキスト形式)
インポート元: CURL.GUI.STANDARD. package 内で定義されています CURL.GUI.TEXT-FORMATS.
基準: text
キーワードの既定設定: _style-element="small"

テキストの内容を現在のサイズ (スケーリングなしのサイズ) の 80% に縮小します。

説明

この文字書式は、{text font-size=0.8em}と同じです。

構文

            {small
                [option1=value1,
                option*=value*,]
                ...}
            
option: 任意のサポートされている文字オプション。
value: 文字オプションに対する有効値です。
...: 内容。テキストの内容のみ書式設定されます。

文字オプション

small および他の文字書式に直接影響する文字オプションは以下のとおりです。


{paragraph
    The third {small word} in this sentence is smaller than
    normal.}
{value
    let tfb:TextFlowBox =
        {TextFlowBox
            font-size=10.0pt,
            {paragraph
                The ratio between the sizes {small should}
                stay the same when you hit
                {CommandButton label="this",
                        {on Action do
                            set tfb.font-size =
                                20.0pt
                        }}}}
    tfb
}

注意事項

このオブジェクトは、"small"のスタイル ルールを記述することでスタイル化することが出来ます。