mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
configure left panel size
This commit is contained in:
parent
757fdba563
commit
a0c3cb5b70
10 changed files with 18 additions and 9 deletions
|
|
@ -16,13 +16,19 @@
|
|||
(declare (ignore obj))
|
||||
(set-geometry win
|
||||
:top (menu-bar-height win)
|
||||
:left 300
|
||||
:left *builder-left-panel-size*
|
||||
:height "" :width ""
|
||||
:bottom 5 :right 0)
|
||||
(set-on-window-move win nil)
|
||||
(set-on-window-move win (lambda (obj)
|
||||
(setf (width obj) (width obj))
|
||||
(setf (height obj) (height obj))))))
|
||||
(set-on-click (create-span (window-icon-area win)
|
||||
:content "- "
|
||||
:auto-place :top)
|
||||
(lambda (obj)
|
||||
(declare (ignore obj))
|
||||
(setf (hiddenp win) t)))
|
||||
(when dir
|
||||
(uiop:chdir (uiop:native-namestring dir)))
|
||||
(set-geometry (create-clog-builder-shell (window-content win))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue