VirtualBox

Changeset 74691 in vbox


Ignore:
Timestamp:
Oct 8, 2018 4:35:20 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9241: VirtualBox Manager: Details pane: Proper margin/spacing for UIDetailsSet.

File:
1 edited

Legend:

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

    r74687 r74691  
    314314    const int iPreviewWidth = pPreviewElement ? pPreviewElement->minimumWidthHint() : 0;
    315315    const int iPreviewHeight = pPreviewElement ? pPreviewElement->minimumHeightHint() : 0;
    316     int iVerticalIndent = 0;
     316    int iVerticalIndent = iMargin;
    317317
    318318    /* Calculate Preview group elements: */
     
    595595    {
    596596        /* Layout hints: */
    597         case SetData_Margin: return 0;
    598         case SetData_Spacing: return QApplication::style()->pixelMetric(QStyle::PM_SmallIconSize) / 6;
     597        case SetData_Margin: return 1;
     598        case SetData_Spacing: return 1;
    599599        /* Default: */
    600600        default: break;
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