QBoxLayout documentation bug

Report any problems with CopperSpice
Post Reply
seasoned_geek
Posts: 253
Joined: Thu Jun 11 2020 12:18 pm

QBoxLayout documentation bug

Post 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?
barbara
Posts: 446
Joined: Sat Apr 04 2015 2:32 am
Contact:

Re: QBoxLayout documentation bug

Post 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
Post Reply