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

11 lines
338 B
Plaintext

;; Basic geometry management with the packer (fill and expand options)
(label '.l4 :text "Label #4" :background "red")
(label '.l5 :text "Label #5" :background "blue")
(label '.l6 :text "Label #6" :background "green")
(pack .l4 :side "top" :fill "both")
(pack .l5 :side "left" :fill "both")
(pack .l6 :side "bottom" :fill "both")