VirtualBox

Changeset 18415 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 27, 2009 4:39:37 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
45220
Message:

FE/Qt4-OSX: change the sizes a little bit

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxGLSettingsLanguage.cpp

    r18259 r18415  
    258258    /* Adjust selector list */
    259259#ifdef Q_WS_MAC
    260     mTwLanguage->setFixedWidth (static_cast<QAbstractItemView*> (mTwLanguage)
     260    int width = qMax (static_cast<QAbstractItemView*> (mTwLanguage)
     261        ->sizeHintForColumn (0) + 2 * mTwLanguage->frameWidth() +
     262        QApplication::style()->pixelMetric (QStyle::PM_ScrollBarExtent),
     263        220);
     264    mTwLanguage->setFixedWidth (width);
    261265#else /* Q_WS_MAC */
    262266    mTwLanguage->setMinimumWidth (static_cast<QAbstractItemView*> (mTwLanguage)
    263 #endif /* Q_WS_MAC */
    264267        ->sizeHintForColumn (0) + 2 * mTwLanguage->frameWidth() +
    265268        QApplication::style()->pixelMetric (QStyle::PM_ScrollBarExtent));
     269#endif /* Q_WS_MAC */
    266270    mTwLanguage->resizeColumnToContents (0);
    267271
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxGLSettingsNetwork.cpp

    r18404 r18415  
    337337        ->sizeHintForColumn (0) + 2 * mTwInterfaces->frameWidth() +
    338338        QApplication::style()->pixelMetric (QStyle::PM_ScrollBarExtent),
    339         160);
     339        220);
    340340    mTwInterfaces->setFixedWidth (width);
    341341    mTwInterfaces->resizeColumnToContents (0);
Note: See TracChangeset for help on using the changeset viewer.

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