QBoxLayout documentation bug

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

QBoxLayout documentation bug

Post by seasoned_geek »


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?
Posts: 455
Joined: Sat Apr 04 2015 2:32 am

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.

Post Reply