mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-07 03:00:49 -08:00
tweaks to element
This commit is contained in:
parent
9e91caeec5
commit
03213a1154
2 changed files with 18 additions and 3 deletions
|
|
@ -106,6 +106,20 @@
|
||||||
(left control)))
|
(left control)))
|
||||||
:set ,(lambda (control obj)
|
:set ,(lambda (control obj)
|
||||||
(setf (left control) (text obj))))
|
(setf (left control) (text obj))))
|
||||||
|
(:name "bottom"
|
||||||
|
:get ,(lambda (control)
|
||||||
|
(if (equal (positioning control) "static")
|
||||||
|
"n/a"
|
||||||
|
(bottom control)))
|
||||||
|
:set ,(lambda (control obj)
|
||||||
|
(setf (bottom control) (text obj))))
|
||||||
|
(:name "right"
|
||||||
|
:get ,(lambda (control)
|
||||||
|
(if (equal (positioning control) "static")
|
||||||
|
"n/a"
|
||||||
|
(right control)))
|
||||||
|
:set ,(lambda (control obj)
|
||||||
|
(setf (right control) (text obj))))
|
||||||
(:name "positioning"
|
(:name "positioning"
|
||||||
:setup ,(lambda (control td1 td2)
|
:setup ,(lambda (control td1 td2)
|
||||||
(declare (ignore td1))
|
(declare (ignore td1))
|
||||||
|
|
@ -365,8 +379,8 @@
|
||||||
,@*props-text*
|
,@*props-text*
|
||||||
,@*props-css*
|
,@*props-css*
|
||||||
,@*props-colors*
|
,@*props-colors*
|
||||||
,@*props-base*
|
,@*props-nav*
|
||||||
,@*props-nav*))
|
,@*props-contents*))
|
||||||
|
|
||||||
(defparameter *props-form-element*
|
(defparameter *props-form-element*
|
||||||
`(,@*props-location*
|
`(,@*props-location*
|
||||||
|
|
|
||||||
|
|
@ -624,7 +624,8 @@ of controls and double click to select control."
|
||||||
(placer (get-placer control))
|
(placer (get-placer control))
|
||||||
(state (hiddenp placer)))
|
(state (hiddenp placer)))
|
||||||
(setf (hiddenp placer) (not state))
|
(setf (hiddenp placer) (not state))
|
||||||
(select-control control))))
|
(select-control control)
|
||||||
|
(on-populate-control-list-win content))))
|
||||||
;; drag and drop to change
|
;; drag and drop to change
|
||||||
(set-on-drag-over list-item (lambda (obj)(declare (ignore obj))()))
|
(set-on-drag-over list-item (lambda (obj)(declare (ignore obj))()))
|
||||||
(set-on-drop list-item
|
(set-on-drop list-item
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue