- Timestamp:
- Apr 2, 2013 11:36:53 AM (12 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItemGroup.cpp
r45221 r45283 474 474 int iGroupCountTextWidth = m_infoSizeGroups.width(); 475 475 int iMachineCountTextWidth = m_infoSizeMachines.width(); 476 int iMaximumWidth = geometry().width();476 int iMaximumWidth = (int)geometry().width(); 477 477 478 478 /* Left margin: */ … … 1042 1042 { 1043 1043 /* Prepare variables: */ 1044 int iFullWidth = geometry().width();1044 int iFullWidth = (int)geometry().width(); 1045 1045 int iEnterButtonWidth = m_enterButtonSize.width(); 1046 1046 int iEnterButtonHeight = m_enterButtonSize.height(); … … 1062 1062 int iNameEditorY = 1; 1063 1063 m_pNameEditor->setPos(iNameEditorX, iNameEditorY); 1064 m_pNameEditorWidget->resize( geometry().width() - iNameEditorX - iHorizontalMargin, m_pNameEditorWidget->height());1064 m_pNameEditorWidget->resize((int)(geometry().width() - iNameEditorX - iHorizontalMargin), m_pNameEditorWidget->height()); 1065 1065 } 1066 1066 … … 1788 1788 QSizeF openedSize = minimumSizeHint(true); 1789 1789 QSizeF closedSize = minimumSizeHint(false); 1790 int iAdditionalHeight = openedSize.height() - closedSize.height();1790 int iAdditionalHeight = (int)(openedSize.height() - closedSize.height()); 1791 1791 m_pToggleButton->setAnimationRange(0, iAdditionalHeight); 1792 1792 } -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItemMachine.cpp
r44529 r45283 290 290 291 291 /* Calculate new maximum width for the first row: */ 292 int iFirstRowMaximumWidth = geometry().width();292 int iFirstRowMaximumWidth = (int)geometry().width(); 293 293 iFirstRowMaximumWidth -= iMargin; /* left margin */ 294 294 iFirstRowMaximumWidth -= m_pixmapSize.width(); /* pixmap width */
Note:
See TracChangeset
for help on using the changeset viewer.