- Timestamp:
- Oct 5, 2018 12:21:32 PM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UIWizardCloneVMPageBasic1.cpp
r74576 r74627 324 324 m_pKeepHWUUIDsCheckBox->setToolTip(UIWizardCloneVM::tr("Don't change hardware UUIDs during cloning.")); 325 325 m_pKeepHWUUIDsCheckBox->setText(UIWizardCloneVM::tr("Keep &Hardware UUIDs")); 326 327 /* Adjust label widths: */328 QList<QWidget*> labels;329 labels << m_pMACComboBoxLabel;330 labels <<m_pNameLabel;331 labels << m_pPathLabel;332 labels << m_pAdditionalOptionsLabel;333 334 int iMaxWidth = 0;335 foreach (QWidget *pLabel, labels)336 iMaxWidth = qMax(iMaxWidth, pLabel->minimumSizeHint().width());337 m_pContainerLayout->setColumnMinimumWidth(0, iMaxWidth);338 326 } 339 327 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UIWizardCloneVMPageExpert.cpp
r74576 r74627 244 244 m_pKeepHWUUIDsCheckBox->setToolTip(UIWizardCloneVM::tr("Don't change hardware UUIDs during cloning.")); 245 245 m_pKeepHWUUIDsCheckBox->setText(UIWizardCloneVM::tr("Keep &Hardware UUIDs")); 246 247 /* Adjust label widths: */248 QList<QWidget*> labels;249 labels << m_pMACComboBoxLabel;250 labels << m_pAdditionalOptionsLabel;251 252 int iMaxWidth = 0;253 foreach (QWidget *pLabel, labels)254 iMaxWidth = qMax(iMaxWidth, pLabel->minimumSizeHint().width());255 m_pCloneOptionsLayout->setColumnMinimumWidth(0, iMaxWidth);256 246 } 257 247
Note:
See TracChangeset
for help on using the changeset viewer.