- Timestamp:
- Oct 3, 2018 2:28:03 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemGroup.cpp
r74393 r74597 858 858 /* Relayout group: */ 859 859 pItem->updateLayout(); 860 /* Update indent for next items: */ 861 iPreviousVerticalIndent += (iMinimumHeight + iChildrenSpacing); 860 /* Advance indent for next items: */ 861 iPreviousVerticalIndent += iMinimumHeight; 862 if (pItem->type() != UIChooserItemType_Global) 863 iPreviousVerticalIndent += iChildrenSpacing; 862 864 } 863 865 } … … 1461 1463 /* And every existing child height: */ 1462 1464 foreach (UIChooserItem *pItem, items()) 1463 iProposedHeight += (pItem->minimumHeightHint() + iChildrenSpacing); 1465 { 1466 iProposedHeight += pItem->minimumHeightHint(); 1467 if (pItem->type() != UIChooserItemType_Global) 1468 iProposedHeight += iChildrenSpacing; 1469 } 1464 1470 } 1465 1471 /* Minus last spacing: */
Note:
See TracChangeset
for help on using the changeset viewer.