#lang racket/gui

(require "../aligned-pasteboard.rkt" "../aligned-editor-container.rkt"
         "../stretchable-editor-snip.rkt" "../snip-lib.rkt")

(define f (new frame% [label ""] [width 500] [height 500]))
(define e (new vertical-pasteboard%))
(define c (new aligned-editor-canvas% [parent f] [editor e]))

(define pb  (new vertical-pasteboard%))
(define aes (new aligned-editor-snip%
                 [editor pb] [stretchable-width #f] [stretchable-height #f]))
(define t2  (new text%))
(define ses (new stretchable-editor-snip%
                 [editor t2] [min-width 100]
                 [stretchable-width #t] [stretchable-height #f]))
(send e insert aes)
(send pb insert ses)

(send f show #t)
