Changeset 93233 in vbox
- Timestamp:
- Jan 14, 2022 2:20:53 PM (3 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm
- Files:
-
- 2 edited
-
UIWizardAddCloudVMPageExpert.cpp (modified) (1 diff)
-
UIWizardAddCloudVMPageSource.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageExpert.cpp
r93225 r93233 115 115 if (m_pSourceInstanceList) 116 116 { 117 /* Make source image list fit 50 symbols 118 * horizontally and 8 lines vertically: */ 119 const QFontMetrics fm(m_pSourceInstanceList->font()); 120 const int iFontWidth = fm.width('x'); 121 const int iTotalWidth = 50 * iFontWidth; 122 const int iFontHeight = fm.height(); 123 const int iTotalHeight = 8 * iFontHeight; 124 m_pSourceInstanceList->setMinimumSize(QSize(iTotalWidth, iTotalHeight)); 117 /* A bit of look&feel: */ 125 118 m_pSourceInstanceList->setAlternatingRowColors(true); 119 /* Allow to select more than one item to add: */ 126 120 m_pSourceInstanceList->setSelectionMode(QAbstractItemView::ExtendedSelection); 127 121 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageSource.cpp
r93115 r93233 334 334 const int iTotalHeight = 8 * iFontHeight; 335 335 m_pSourceInstanceList->setMinimumSize(QSize(iTotalWidth, iTotalHeight)); 336 /* A bit of look&feel: */ 336 337 m_pSourceInstanceList->setAlternatingRowColors(true); 338 /* Allow to select more than one item to add: */ 337 339 m_pSourceInstanceList->setSelectionMode(QAbstractItemView::ExtendedSelection); 338 340
Note:
See TracChangeset
for help on using the changeset viewer.

