説明
例
例 | |
{def samples = {HBox valign="bottom", spacing = 4pt, control-appearance-changeable? = true, control-color = "cornflowerblue", {CommandButton label = "Sample Button"}, {CheckButton label = "Sample"}, {Scrollbar width = .8in, direction = "horizontal"}, {ComboBox width = 1.2in, prompt = "Choose One", "First", "Second", "Third" }, {TextField width = 1.0in, value = "Sample text"} } } {install-style-sheet-on-Graphic samples, null, look-and-feel = the-standard-look-and-feel } |