VirtualBox

Changeset 89159 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
May 19, 2021 11:54:22 AM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10003: Reworking Details pane; Yet another missed part in details set layout calculations; See also r144447 and r144485.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsSet.cpp

    r89144 r89159  
    297297        pPreviewElement->updateLayout();
    298298    }
     299
     300    /* Set layout update procedure cause hints to be invalidated,
     301     * so we have to update geometry to recalculate them: */
     302    updateGeometry();
    299303}
    300304
     
    580584    }
    581585    /* Minus last spacing: */
    582     iMinimumHeightHintInGroup -= iSpacing;
    583     iMinimumHeightHintOutGroup -= iSpacing;
     586    if (iMinimumHeightHintInGroup > 0)
     587        iMinimumHeightHintInGroup -= iSpacing;
     588    if (iMinimumHeightHintOutGroup > 0)
     589        iMinimumHeightHintOutGroup -= iSpacing;
    584590
    585591    /* Append minimum height of Preview and Preview group: */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette