- Timestamp:
- Apr 12, 2021 5:30:48 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpViewer.cpp
r88465 r88474 642 642 if (m_fOverlayMode) 643 643 { 644 QSize size(0.8 * width(), 0.8 * height()); 644 QSize size(qMin((int)(0.9 * width()), m_overlayPixmap.width()), 645 qMin((int)(0.9 * height()), height())); 645 646 m_pOverlayLabel->setPixmap(m_overlayPixmap.scaled(size, Qt::KeepAspectRatio, Qt::SmoothTransformation)); 646 647 int x = 0.5 * (width() - m_pOverlayLabel->width());
Note:
See TracChangeset
for help on using the changeset viewer.