[mcclim-devel] button size

Mariano Montone marianomontone at gmail.com
Wed Mar 27 13:05:48 UTC 2013


Hi.

Did you try with :x-spacing and :y-spacing instead of :width and :height
to see what happens?

Mariano

El 27/03/13 09:22, Irène Durand escribió:
>  Hello,
>
> In order to give a project to my students using McClim for the graphical
> interface, I am trying to make a square button of a given size.
>
> But I always obtain a default size button the width, height,
> max-width, ...
> have no effect.
>
> Where could I find some help about that?
>
> Thank you,
> Irène
>
> (defun make-square-pane ()
>   (make-pane
>    'square-button-pane
>    :label ""
>    :width 20
>    :height 20
>    :activate-callback (lambda (x)
>             (setf (gadget-label x) "O"))))
>
>
>
>
> _______________________________________________
> mcclim-devel mailing list
> mcclim-devel at common-lisp.net
> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/mcclim-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/mcclim-devel/attachments/20130327/5f1511b6/attachment.html>


More information about the mcclim-devel mailing list