[Snow-devel] Having troubles with size property
Matus Kmit
simply.nitaai at gmail.com
Thu Jun 16 20:07:50 UTC 2011
Hi Alessio
i am having troubles using the size property. it just doesn't work as
i want. so far it seems to be working only with frame widget.
What i basically want is a scrollable non-editable text area of a specific size.
Here is my test code:
(frame (:size #C(300 300))
(panel (:layout "wrap")
(label :text "1")
(label :text "2")
(label :text "3" :layout "wrap")
(label :text "2" :layout "span 2 2")
(label :text "2" :layout "wrap")
(label :text "2"))
(scroll (:size #C(100 100))
(label :text
"looooooooooooooooooooooooooooooooooooooooooooooooooooooooooong"))
(show self))
i tried various options, but did not succeed. Size in frame works, but
not in scroll.
Your help is appreciated,
Matus
More information about the snow-devel
mailing list