Changeset 67377 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jun 13, 2017 3:24:25 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 116097
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIFlowLayout.cpp
r67371 r67377 137 137 foreach (QLayoutItem *pItem, m_items) 138 138 { 139 /* Skip items of zero width: */ 140 if (pItem->sizeHint().width() == 0) 141 continue; 142 139 143 /* Get item policy and width: */ 140 144 const ExpandPolicy enmPolicy = pItem->expandingDirections() & Qt::Horizontal ? ExpandPolicy_Dynamic : ExpandPolicy_Fixed; … … 173 177 LayoutDataList &row = rows[i]; 174 178 /* Width expand delta is equal to total-width minus all spacing widths ... */ 179 printf("row %d size: %d\n", i, row.size()); 175 180 int iExpandingWidth = contentsRect.width() - (row.size() - 1) * iSpaceX; 176 181
Note:
See TracChangeset
for help on using the changeset viewer.