I want to extend the class horizontal-panel%but somehow I am getting this error message:
class has init `stretchable-height' that is not in expected type in: (class horizontal-panel% (super-new))
This is my code so far:
#lang typed/racket
(require typed/racket/gui)
(define-type Graph-Tab%
(Class #:implements Horizontal-Panel%
))
(: graph-tab% : Graph-Tab%)
(define graph-tab%
(class horizontal-panel%
(super-new)
))
As you can probably tell I am very new to racket and I am still learning.