fix message-box alignment for mac os x

svn: r3297

original commit: 7880355fdd5a7c3d6e48b8719999c3b1e711486b
This commit is contained in:
Matthew Flatt 2006-06-09 14:01:05 +00:00
parent be9da07acb
commit 0e0b971eb0

View File

@ -109,6 +109,7 @@
(send msg-pnl horiz-margin 8))
(send btn-pnl vert-margin 8)
(send msg-pnl min-height 64)
(send msg-pnl min-width 350)
(send btn-pnl stretchable-height #f)
(values msg-pnl btn-pnl 96 'right 'left 'top)))]
[else (let ([p (instantiate horizontal-pane% (f) [alignment '(center top)])])
@ -150,6 +151,8 @@
(let ([p (new horizontal-pane% [parent btn-pnl]
[stretchable-height #f]
[alignment '(left center)])])
(when (eq? 'macosx (system-type))
(send p horiz-margin 8))
(new check-box%
[label check-message]
[parent p]