Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
scene(fill: hsb(128, 0.5, 0.5, 0.5), root: group()) {
          toggleButton  toggleButton (
                layoutX layoutX: 25,
                layoutY layoutY: 300,
                font font: "16pt Courier",
                text text: "One",
                selected selected: true,
                toggleGroup toggleGroup: "Group1"
            )
          toggleButton  toggleButton (
                layoutX layoutX: 125,
                layoutY layoutY: 300,
                font font: "16pt Courier",
                text text: "Two",
                selected selected: true,
                toggleGroup toggleGroup: "Group1"
            )
}