プロシージャを作成し、グラフィックに伸長性を追加します。
説明
戻り値
例
| 例 | |
![]() | |
{VBox
width = 5in,
border-width = 1px, border-color = "navy",
font-size = 9pt,
{HBox
{Frame
"Stretchy Right",
margin = 2px,
background = "lightyellow",
width = {add-stretch}
},
{Frame
"Not Stretchy",
margin = 2px,
background = "azure"
}
},
{HBox
{Frame
"Stretchy Left",
margin = 2px,
background = "lightyellow",
width = {add-stretch before? = true, after? = false}
},
{Frame
"Not Stretchy",
margin = 2px,
background = "azure"
}
},
{HBox
{Frame
"Stretchy Left and Right",
margin = 2px,
background = "lightyellow",
width = {add-stretch before? = true}
},
{Frame
"Not Stretchy",
margin = 2px,
background = "azure"
}
}
}
|