stk/Contrib/STk-wtour/lessons/pack1.stk

10 lines
267 B
Plaintext

;; Basic geometry management with the packer
(label '.l1 :text "Label #1" :background "red")
(label '.l2 :text "Label #2" :background "blue")
(label '.l3 :text "Label #3" :background "green")
(pack .l1 :side "top")
(pack .l2 :side "left")
(pack .l3 :side "bottom")