compliant-stretch-order (定数)
public constant compliant-stretch-order:int =40
インポート元: CURL.GUI.STANDARD. package 内で定義されています CURL.UTIL.ELASTIC.

伸長性が非常に高いため、他のオブジェクトのユーザー設定サイズにそれ自身を容易に収容できる、Elastic伸長順位です。

プログラミング注意事項

この伸長順位は、従来、関連付けられるグラフィカル オブジェクトによりそのサイズが決定される準拠オブジェクト ( Scrollbar などの) の高さと幅を説明するために使用されています。また、この伸長順位は、通常、実際のサイズ プリファレンスが、自身に設定された width または height プロパティにより決定されるオブジェクト (Fill および RectangleGraphic など) の既定の伸長順位です。この伸長順位は、proportional-stretch-order よりも伸長性が高いため、次の例に示されるように、この伸長順位を持つオブジェクトは、伸長順位が proportional-stretch-order のオブジェクトと平行に配置することができます (後のオブジェクトを変形することなく)。ここでは、緑色の RectangleGraphic の既定 compliant-stretch-order 伸長順位は、これを伸長し、2 つの黄色の RectangleGraphic と整列するようにします (これらの水平位置に影響を与えることなく)。


{HBox
    width=4in,
    border-width=2pt,
    border-color="red",
    {Fill
        width={make-elastic
                  stretchiness=0.25,
                  stretch-order=proportional-stretch-order}},
    {VBox
        {HBox
            {RectangleGraphic
                height=24pt, width=48pt, fill-color="yellow"},
            {Fill
                width={make-elastic
                          stretchiness=0.5,
                          stretch-order=proportional-stretch-order}},
            {RectangleGraphic
                height=24pt, width=48pt, fill-color="yellow"}},
        {RectangleGraphic height=18pt, fill-color="green"}},
    {Fill
        width={make-elastic
                  stretchiness=0.25,
                  stretch-order=proportional-stretch-order}}}