Changeset 74681 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Oct 8, 2018 1:36:12 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsModel.cpp
r74680 r74681 97 97 /* Prepare variables: */ 98 98 const QSize viewportSize = paintDevice()->viewport()->size(); 99 const QSize rootSize = viewportSize.expandedTo(m_pRoot->minimumSizeHint().toSize()); 99 100 100 101 /* Move root: */ 101 102 m_pRoot->setPos(0, 0); 102 103 /* Resize root: */ 103 m_pRoot->resize( viewportSize.width(), m_pRoot->minimumHeightHint());104 m_pRoot->resize(rootSize); 104 105 /* Layout root content: */ 105 106 m_pRoot->updateLayout();
Note:
See TracChangeset
for help on using the changeset viewer.