Changeset 68211 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jul 31, 2017 4:23:06 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UITabBar.cpp
r68209 r68211 276 276 { 277 277 /* Configure self: */ 278 setSizePolicy(QSizePolicy::Fixed, QSizePolicy:: Minimum);278 setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); 279 279 280 280 /* Create main layout: */ … … 294 294 /* Configure layout: */ 295 295 #ifdef VBOX_WS_MAC 296 m_pLayout->setContentsMargins(iMargin + iSpacing, 0, iMargin + iSpacing, 0);296 m_pLayout->setContentsMargins(iMargin + iSpacing, iMargin, iMargin + iSpacing, iMargin); 297 297 #else 298 m_pLayout->setContentsMargins(iMargin + iSpacing, 0, iMargin, 0);298 m_pLayout->setContentsMargins(iMargin + iSpacing, iMargin, iMargin, iMargin); 299 299 #endif 300 300 m_pLayout->setSpacing(iSpacing); … … 305 305 { 306 306 /* Configure label: */ 307 m_pLabelIcon->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); 307 308 m_pLabelIcon->setPixmap(m_icon.pixmap(iMetric)); 308 309 } … … 313 314 { 314 315 /* Configure label: */ 316 m_pLabelIcon->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); 315 317 m_pLabelName->setText(m_strName); 316 318 } … … 488 490 /* Configure layout: */ 489 491 m_pLayout->setSpacing(0); 490 m_pLayout->setContentsMargins(0, 10, 0, 10);492 m_pLayout->setContentsMargins(0, 0, 0, 0); 491 493 492 494 // TODO: Workout stretch at the and as well,
Note:
See TracChangeset
for help on using the changeset viewer.