XCheckBox question

Miklos Vajna vmiklos at suse.cz
Fri May 3 01:01:01 PDT 2013


Hi,

On Thu, May 02, 2013 at 08:04:38PM +0200, Alexander Thurgood <alex.thurgood at gmail.com> wrote:
> A user over on the English user list asked whether it was possible to
> resize a checkbox in a form. I replied that to my knowledge, this had
> never been possible, not even way back in StarOffice times. However, I
> wanted to double-check and so started hunting around in the code.

A checkbox implements drawing::XShape, and you can call setSize() on it:

http://api.libreoffice.org/docs/common/ref/com/sun/star/drawing/XShape.html#setSize

So I guess you can happily set both the width and height of a checkbox.

Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130503/2148b921/attachment.pgp>


More information about the LibreOffice mailing list