.
original commit: 0ce2204b1e5ab090387d2ff1192ccbe280b16c10
This commit is contained in:
parent
cda43e3c00
commit
6edf4807c8
|
@ -15,7 +15,7 @@
|
|||
[(text filename-or-bitmap)
|
||||
(lambda (area-container-window)
|
||||
(let*-values ([(outside-margin) 2]
|
||||
[(font) (send area-container-window get-control-font)]
|
||||
[(font) normal-control-font]
|
||||
[(img-bitmap-dc img-bitmap img-width img-height)
|
||||
(let ([mdc (make-object bitmap-dc%)]
|
||||
[q (if (filename-or-bitmap . is-a? . bitmap%)
|
||||
|
|
|
@ -142,14 +142,7 @@
|
|||
(stretchable-width #f)
|
||||
(stretchable-height #f)))
|
||||
|
||||
(define button-label-font
|
||||
(case (system-type)
|
||||
[(windows)
|
||||
(send the-font-list find-or-create-font 8 'decorative 'normal 'normal #f)]
|
||||
[(macosx)
|
||||
(send the-font-list find-or-create-font 11 'system 'normal 'bold #f)]
|
||||
[else
|
||||
(send the-font-list find-or-create-font 10 'decorative 'normal 'normal #f)]))
|
||||
(define button-label-font small-control-font)
|
||||
|
||||
(define button-label-inset 1)
|
||||
(define black-color (make-object color% "BLACK"))
|
||||
|
|
Loading…
Reference in New Issue
Block a user