Changeset 55932 in vbox
- Timestamp:
- May 19, 2015 11:13:30 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIArrowSplitter.cpp
r52730 r55932 241 241 AssertPtrReturnVoid(pButtonLayout); 242 242 { 243 /* Determine icon metric: */ 244 const QStyle *pStyle = QApplication::style(); 245 const int iIconMetric = pStyle->pixelMetric(QStyle::PM_SmallIconSize) * .625; 243 246 /* Configure button-layout: */ 244 247 pButtonLayout->setContentsMargins(0, 0, 0, 0); … … 249 252 { 250 253 /* Configure switch-button: */ 251 m_pSwitchButton->setIconSize(QSize( 10, 10));254 m_pSwitchButton->setIconSize(QSize(iIconMetric, iIconMetric)); 252 255 m_pSwitchButton->setIconForButtonState(QIArrowButtonSwitch::ButtonState_Collapsed, 253 256 UIIconPool::iconSet(":/arrow_right_10px.png")); … … 266 269 { 267 270 /* Configure back-button: */ 268 m_pBackButton->setIconSize(QSize( 10, 10));271 m_pBackButton->setIconSize(QSize(iIconMetric, iIconMetric)); 269 272 m_pBackButton->setIcon(UIIconPool::iconSet(":/arrow_left_10px.png")); 270 273 connect(m_pBackButton, SIGNAL(sigClicked()), this, SLOT(sltSwitchDetailsPageBack())); … … 277 280 { 278 281 /* Configure next-button: */ 279 m_pNextButton->setIconSize(QSize( 10, 10));282 m_pNextButton->setIconSize(QSize(iIconMetric, iIconMetric)); 280 283 m_pNextButton->setIcon(UIIconPool::iconSet(":/arrow_right_10px.png")); 281 284 connect(m_pNextButton, SIGNAL(sigClicked()), this, SLOT(sltSwitchDetailsPageNext()));
Note:
See TracChangeset
for help on using the changeset viewer.