Invoking :font option on (flow-panel)

16 views
Skip to first unread message

Amir Teymuri

unread,
Jan 19, 2016, 4:17:06 AM1/19/16
to seesaw-clj
According to (show-options (flow-panel)) (flow-panel) does support the :font option. How is :font to invoke on flow-panel? This does not work:

(config! my-frame :content (flow-panel :items ["FILE:" (text "here comes the TEXT")] :font "ARIAL-BOLD-100" :background :red))

Dave Ray

unread,
Jan 19, 2016, 12:29:47 PM1/19/16
to seesa...@googlegroups.com
since panels don't display text, they don't have a :font option. Try setting :font on the result of your (text ...) call.

Dave

On Tue, Jan 19, 2016 at 1:17 AM, Amir Teymuri <amirt...@gmx.de> wrote:
According to (show-options (flow-panel)) (flow-panel) does support the :font option. How is :font to invoke on flow-panel? This does not work:

(config! my-frame :content (flow-panel :items ["FILE:" (text "here comes the TEXT")] :font "ARIAL-BOLD-100" :background :red))

--
You received this message because you are subscribed to the Google Groups "seesaw-clj" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seesaw-clj+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages