- Timestamp:
- Aug 6, 2012 2:50:19 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsSet.cpp
r42608 r42626 236 236 { 237 237 UIGDetailsElement *pPreviewElement = element(DetailsElementType_Preview); 238 int iPreviewWidth = pPreviewElement ? pPreviewElement->minimumWidthHint() : 0;238 int iPreviewWidth = pPreviewElement && pPreviewElement->isVisible() ? pPreviewElement->minimumWidthHint() : 0; 239 239 int iWidth = iPreviewWidth == 0 ? iMaximumWidth - 2 * iMargin : 240 240 iMaximumWidth - 2 * iMargin - iSpacing - iPreviewWidth; … … 453 453 bool fVisible = m_settings.contains(strElementTypeOpened) || m_settings.contains(strElementTypeClosed); 454 454 /* Should be element opened? */ 455 bool fOpen = fVisible &&m_settings.contains(strElementTypeOpened);455 bool fOpen = m_settings.contains(strElementTypeOpened); 456 456 457 457 /* Check if element is present already: */
Note:
See TracChangeset
for help on using the changeset viewer.