Changeset 108615 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Mar 19, 2025 4:44:53 PM (5 weeks ago)
- svn:sync-xref-src-repo-rev:
- 168027
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsModel.cpp
r108614 r108615 628 628 continue; 629 629 630 /* Acquire item properties: */ 631 const int iItemHeight = pItem->minimumHeightHint(); 632 630 633 /* Separate procedures for different classes: */ 631 634 switch (enmClass) … … 636 639 pItem->setPos(iMargin, iVerticalIndentGlobal); 637 640 /* Set root-item size: */ 638 pItem->resize(iViewportWidth, pItem->minimumHeightHint());641 pItem->resize(iViewportWidth, iItemHeight); 639 642 /* Make sure item is shown: */ 640 643 pItem->show(); 641 644 /* Advance vertical indent: */ 642 iVerticalIndentGlobal += ( pItem->minimumHeightHint()+ iSpacing);643 iVerticalIndentRest += ( pItem->minimumHeightHint()+ iSpacing);644 645 /* If we are in animated state:*/645 iVerticalIndentGlobal += (iItemHeight + iSpacing); 646 iVerticalIndentRest += (iItemHeight + iSpacing); 647 648 /* Do we have animation engine? */ 646 649 if (m_pAnimationEngine) 647 650 { … … 674 677 pItem->setPos(iMargin, iVerticalIndentRest); 675 678 /* Set root-item size: */ 676 pItem->resize(iViewportWidth, pItem->minimumHeightHint());679 pItem->resize(iViewportWidth, iItemHeight); 677 680 /* Make sure item is shown: */ 678 681 pItem->show(); 679 682 /* Advance vertical indent: */ 680 iVerticalIndentRest += ( pItem->minimumHeightHint()+ iSpacing);683 iVerticalIndentRest += (iItemHeight + iSpacing); 681 684 682 685 break;
Note:
See TracChangeset
for help on using the changeset viewer.