- Timestamp:
- Oct 15, 2018 10:00:11 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemGroup.cpp
r74717 r74840 1442 1442 if (hasItems()) 1443 1443 { 1444 /* Prepare variables: */ 1445 const int iChildrenSpacing = data(GroupItemData_ChildrenSpacing).toInt(); 1446 1444 1447 /* And every existing child height: */ 1445 1448 foreach (UIChooserItem *pItem, items()) 1446 iProposedHeight += pItem->minimumHeightHint(); 1449 iProposedHeight += (pItem->minimumHeightHint() + iChildrenSpacing); 1450 /* Minus last spacing: */ 1451 iProposedHeight -= iChildrenSpacing; 1447 1452 } 1448 1453 } … … 1464 1469 /* And every existing child height: */ 1465 1470 foreach (UIChooserItem *pItem, items()) 1466 {1467 1471 iProposedHeight += (pItem->minimumHeightHint() + iChildrenSpacing); 1468 }1469 1472 /* Minus last spacing: */ 1470 1473 iProposedHeight -= iChildrenSpacing;
Note:
See TracChangeset
for help on using the changeset viewer.