Re: CAPI display text with alignment
"Martin Půda (as mapuda at seznam dot cz)" <[email protected]>
| Newsgroups | gmane.lisp.lispworks.general |
|---|---|
| Message-ID | <1Bi.1RjF7.5d{hM9UVgWh.1dYUx}@seznam.cz> |
(capi:contain (make-instance 'capi:rich-text-pane :enabled nil :text "Text to center" :paragraph-format '(:alignment :center))) (capi:contain (make-instance 'capi:rich-text-pane :enabled nil :text "Text to right" :paragraph-format '(:alignment :right))) ---------- Původní e-mail ---------- Od: John DeSoi (as john at desoi dot dev) <[email protected]> Komu: Lisp HUG <[email protected]> Datum: 16. 1. 2025 21:47:31 Předmět: CAPI display text with alignment "I want to display static text on an interface with center or right text alignment. It seems like capi:display-pane is the right class, but there is no alignment option. titled-object is a superclass of title-pane, but that does not work. I assume because it is intended to be the title of some other element. (capi:contain (make-instance 'capi:title-pane :text "test" :visible-min- width 400 :title-adjust :center)) John DeSoi, Ph.D. _______________________________________________ Lisp Hug - the mailing list for LispWorks users [email protected] http://www.lispworks.com/support/lisp-hug.html "