VirtualBox

Changeset 74681 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Oct 8, 2018 1:36:12 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9241: VirtualBox Manager: Details pane: Resize root group item to be at least of full viewport size.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsModel.cpp

    r74680 r74681  
    9797    /* Prepare variables: */
    9898    const QSize viewportSize = paintDevice()->viewport()->size();
     99    const QSize rootSize = viewportSize.expandedTo(m_pRoot->minimumSizeHint().toSize());
    99100
    100101    /* Move root: */
    101102    m_pRoot->setPos(0, 0);
    102103    /* Resize root: */
    103     m_pRoot->resize(viewportSize.width(), m_pRoot->minimumHeightHint());
     104    m_pRoot->resize(rootSize);
    104105    /* Layout root content: */
    105106    m_pRoot->updateLayout();
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette