Page 1 of 1

QBoxLayout documentation bug

Posted: Tue Mar 01 2022 6:59 pm
by seasoned_geek
https://www.copperspice.com/docs/cs_api/class_qboxlayout.html#a3659a646d45ba10a55b83c4368a599b1

=====
void QBoxLayout::addSpacing ( int size )

Adds a non-stretchable space with the given size to the end of the current QBoxLayout. This method adds additional space beyond the default margin and spacing.
=====

What unit??? Pixel. If QVBoxLayout is this the number of rows? If QHBoxLayout is this a character width based on the current font?

Re: QBoxLayout documentation bug

Posted: Thu Mar 03 2022 6:09 am
by barbara
Good question. The size is in pixels.

We have added this information in the API documentation. New CopperSpice API documentation will be uploaded by the end of this week.

Barbara