VirtualBox

Ignore:
Timestamp:
Apr 18, 2007 1:09:20 PM (18 years ago)
Author:
vboxsync
Message:

1934: Never decrease size in the layout:

  1. Created the proposed QIConstrainKeeper for using it for individual child widgets with dynamic contents.
  2. QIConstrainKeeper used for the horizontal size of the Start/Show button, to have it's minimum size fixed at it's maximum value.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui.h

    r2154 r2170  
    424424                                     6 /* seems that RichText adds some margin */ +
    425425                                     whatsThisLabel->fontMetrics().width ('m') * 40);
    426     connect (whatsThisLabel, SIGNAL (textChanged()), this, SLOT (processAdjustSize()));
    427426
    428427    /*
     
    799798    VBoxGlobal::centerWidget (this, parentWidget());
    800799}
    801 
    802 void VBoxVMSettingsDlg::processAdjustSize()
    803 {
    804     int newHeight = minimumSize().height();
    805     int oldHeight = height();
    806     if (newHeight > oldHeight)
    807         resize (minimumSize());
    808 }
    809 
    810800
    811801void VBoxVMSettingsDlg::updateShortcuts()
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