move definer section out of tab panel; restrict minimum size of tab panel

This commit is contained in:
kiefac 2024-04-25 11:34:36 -04:00
parent ca6b5dba77
commit f351611db5

View file

@ -72,10 +72,12 @@
(clicker "coder" 150 5 0)
(clicker "paren farm" 1000 10 0)))
(for ([cl all-clickers]) (new-buy-button builtins cl))
; prevent tab panel from resizing to a panel with arrows
(send right-side min-width (send right-side get-width))
; define your own clickers
(define definer-panel (new group-box-panel%
[parent definitions]
[parent left-side]
[label "Define custom clicker"]))
(define name-field (new text-field%
[parent definer-panel]