Changeset 18415 in vbox for trunk/src/VBox
- Timestamp:
- Mar 27, 2009 4:39:37 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 45220
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGLSettingsLanguage.cpp
r18259 r18415 258 258 /* Adjust selector list */ 259 259 #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); 261 265 #else /* Q_WS_MAC */ 262 266 mTwLanguage->setMinimumWidth (static_cast<QAbstractItemView*> (mTwLanguage) 263 #endif /* Q_WS_MAC */264 267 ->sizeHintForColumn (0) + 2 * mTwLanguage->frameWidth() + 265 268 QApplication::style()->pixelMetric (QStyle::PM_ScrollBarExtent)); 269 #endif /* Q_WS_MAC */ 266 270 mTwLanguage->resizeColumnToContents (0); 267 271 -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGLSettingsNetwork.cpp
r18404 r18415 337 337 ->sizeHintForColumn (0) + 2 * mTwInterfaces->frameWidth() + 338 338 QApplication::style()->pixelMetric (QStyle::PM_ScrollBarExtent), 339 160);339 220); 340 340 mTwInterfaces->setFixedWidth (width); 341 341 mTwInterfaces->resizeColumnToContents (0);
Note:
See TracChangeset
for help on using the changeset viewer.