Skip to content

Commit

Permalink
Examples: port simple_input.sh to the new syntax
Browse files Browse the repository at this point in the history
As discussed in #5383
(and #5342)
  • Loading branch information
ogoffart committed Jun 11, 2024
1 parent b3de1e8 commit 9f6db89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/bash/simple_input.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

OUTPUT=$(slint-viewer - --save-data - << EOF
import { StandardButton, GridBox, LineEdit } from "std-widgets.slint";
_ := Dialog {
property name <=> name-le.text;
property address <=> address-le.text;
export component _ inherits Dialog {
in-out property address <=> address-le.text;
in-out property name <=> name-le.text;
StandardButton { kind: ok; }
StandardButton { kind: cancel; }
preferred-width: 300px;
Expand Down

0 comments on commit 9f6db89

Please sign in to comment.