>From a quick glance at the push-button-pane code, it looks like Mariano's suggestion of using x-spacing / y-spacing may work. If not, an alternative is to define a subclass of push-button-pane with a new compose-space method.

On Wed, Mar 27, 2013 at 8:22 AM, Irčne Durand <idurand@labri.fr> wrote:
 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@common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/mcclim-devel