File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 4
4
5
5
source = """
6
6
ltk.VBox(
7
- # edit this text and see what happens
8
-
9
7
ltk.HBox(
10
- ltk.Span("Edit the text").css("margin", 12),
11
- ltk.Span("In the editor below"),
8
+ ltk.Span("Edit the text in"),
9
+ ltk.Span("the editor below")
10
+ .css("margin", 12),
12
11
)
13
12
.css("height", 40)
14
13
.css("background", "lightblue")
15
14
.css("border", "1px solid gray"),
16
15
17
16
ltk.HBox(
18
- ltk.Span("This UI will update live").css("margin", 12),
19
- ltk.Span("With every character you type!").css("margin-top", 24),
17
+ ltk.Span("This UI will update live")
18
+ .css("margin", 12),
19
+ ltk.Span("With every character you type!")
20
+ .css("margin-top", 24),
20
21
)
21
22
.css("height", 80)
22
23
.css("background", "lightyellow")
23
- .css("border", "1px solid gray "),
24
+ .css("border", "2px solid red "),
24
25
)
25
26
""" .strip ()
26
27
You can’t perform that action at this time.
0 commit comments