Message: 2 Date: Wed, 27 Mar 2013 10:05:48 -0300 From: Mariano Montonemarianomontone@gmail.com To: mcclim-devel@common-lisp.net Subject: Re: [mcclim-devel] button size Message-ID:5152EEAC.7040909@gmail.com Content-Type: text/plain; charset="iso-8859-1"
Hi.
Did you try with :x-spacing and :y-spacing instead of :width and :height to see what happens?
I just did. The button is bigger but it is still not a square. I guess that I will have to try what Andy suggested: write a new compose-space method :-(
Irène
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@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/mcclim-devel