VirtualBox

Ignore:
Timestamp:
Sep 19, 2024 12:06:14 PM (5 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
164870
Message:

FE/Qt: ​bugref:10765. Reduce indentation of hard disk widgets in the new vm wizard.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMExpertPage.cpp

    r106061 r106095  
    508508    QWidget *pNewDiskContainerWidget = new QWidget;
    509509    QGridLayout *pDiskContainerLayout = new QGridLayout(pNewDiskContainerWidget);
     510    pDiskContainerLayout->setContentsMargins(0, 0, 0, 0);
    510511
    511512    m_pSizeAndLocationGroup = new UIMediumSizeAndPathGroupBox(true, 0 /* parent */, _4M /* minimum size */);
     
    551552        m_pDiskSelectionButton->setIcon(UIIconPool::iconSet(":/select_file_16px.png", ":/select_file_disabled_16px.png"));
    552553    }
    553     pDiskLayout->addWidget(m_pDiskNew, 0, 0, 1, 6);
    554     pDiskLayout->addWidget(createNewDiskWidgets(), 1, 2, 3, 4);
    555     pDiskLayout->addWidget(m_pDiskExisting, 4, 0, 1, 6);
    556     pDiskLayout->addWidget(m_pDiskSelector, 5, 2, 1, 3);
     554    pDiskLayout->addWidget(m_pDiskNew,             0, 0, 1, 6);
     555    pDiskLayout->addWidget(createNewDiskWidgets(), 1, 1, 3, 4);
     556    pDiskLayout->addWidget(m_pDiskExisting,        4, 0, 1, 6);
     557    pDiskLayout->addWidget(m_pDiskSelector,        5, 1, 1, 3);
    557558    pDiskLayout->addWidget(m_pDiskSelectionButton, 5, 5, 1, 1);
    558     pDiskLayout->addWidget(m_pDiskEmpty, 6, 0, 1, 6);
     559    pDiskLayout->addWidget(m_pDiskEmpty,           6, 0, 1, 6);
    559560    return pDiskContainer;
    560561}
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