add space before checkbox in single-line mode for Unix/Windows message box
svn: r3299 original commit: cc4f2270b7fc7503e3932652ddfc9a147bad7468
This commit is contained in:
parent
4806a9f771
commit
cf3aaeb862
|
@ -149,12 +149,15 @@
|
||||||
(send msg-pnl delete-child c)
|
(send msg-pnl delete-child c)
|
||||||
(loop #t)))))))
|
(loop #t)))))))
|
||||||
(let ([check (and check?
|
(let ([check (and check?
|
||||||
(let ([p (new horizontal-pane% [parent cb-pnl]
|
(let ([p (new vertical-pane% [parent cb-pnl]
|
||||||
[stretchable-height #f]
|
[stretchable-height #f]
|
||||||
[alignment '(left center)])])
|
[alignment '(left center)])])
|
||||||
(when (and single?
|
(when single?
|
||||||
(eq? 'macosx (system-type)))
|
(if (eq? 'macosx (system-type))
|
||||||
(send p horiz-margin 8))
|
;; Match text-panel margin:
|
||||||
|
(send p horiz-margin 8)
|
||||||
|
;; Put space between message an checkbox:
|
||||||
|
(new message% [parent p] [label " "])))
|
||||||
(new check-box%
|
(new check-box%
|
||||||
[label check-message]
|
[label check-message]
|
||||||
[parent p]
|
[parent p]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user